|
-
February 3rd, 2005, 06:03 AM
#1
Sorting a Datagrid with a Select Button does not work!!!
Hi
I am using an unbound datagrid with a Select Button that was inserted from the Property Builder of the Datagrid.
This button selects a row of the datagrid and displays the information in another page.
Everything is working fine. The problem starts when I sort any of the columns of the datagrid (by clicking the column header) and then select a row, the data displayed in the second form will be for another row and not the row I have selected!!!
It looks as though the Select button in the datagrid is unaware of any changes in the datagrid!!!
How can I make the Select Button respond to the new status of the datagrid??
Many thanks
-
February 3rd, 2005, 02:12 PM
#2
Re: Sorting a Datagrid with a Select Button does not work!!!
Could you maybe post your code for populating the grid, sorting the grid, and clicking the select button? The only thing I can think of off the top of my head is that you might be repopulating the grid in the Page.Load event and handling the button click while it is in a different order.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|