Hi all,
Hopefully the last problem I run into for a bit. I have a grid with several databound columns, one of which is a drop down. I'm also using paging using the 'NeedDataSource' method to retrieve only the necessary number of rows. I also have am making everything editable by default which requires looping through the items and rebinding apparently (at least that's how I got it to work on all pages by doing this in the DataBound event).
Anyways on to the problem. On the initial page load everything loads properly. Everything is editable, the pager displayers properly and the drop list is properly bound and linked to the main grid data (the proper item is selected).
When I change page however the drop down lists become unpopulated except for the default value. The code to bind them is executed just like on the main page so I'm not quite sure what's happening here.
Any ideas?
Hopefully the last problem I run into for a bit. I have a grid with several databound columns, one of which is a drop down. I'm also using paging using the 'NeedDataSource' method to retrieve only the necessary number of rows. I also have am making everything editable by default which requires looping through the items and rebinding apparently (at least that's how I got it to work on all pages by doing this in the DataBound event).
Anyways on to the problem. On the initial page load everything loads properly. Everything is editable, the pager displayers properly and the drop list is properly bound and linked to the main grid data (the proper item is selected).
When I change page however the drop down lists become unpopulated except for the default value. The code to bind them is executed just like on the main page so I'm not quite sure what's happening here.
Any ideas?