Click here to Skip to main content
15,942,710 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I am developing a website with a grid to display data from table.
I have created a 'select' field in my grid view so that I can view the details of each of the selected record in the 'details View' and everything works fine.

The problem is that when I enable paging in my grid view and navigate to the second page or any other page other than the default one, when I click on the select link to view the details in my details View, I only receive details of the record on the first page of my grid View.

Even when I select from these pages, the details view only displays this first record on the default page.

How can I solve this, help me?


This is the sample code I have used

DetailsVIew1.pageIdex=Gridview1.selectedindex;

Thanks in advance

Yours
Martin Katumba.
Posted
Updated 17-Oct-10 21:43pm
v3
Comments
Bikash Shrestha From Nepal 16-Oct-10 22:54pm    
can you please paste your code so that we can find where you have missed
Dalek Dave 18-Oct-10 3:43am    
Edited for Grammar and Spelling.

1 solution

check whether u having more data on ur table or not..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900