|
Rank: Advanced Member Groups: Member
Joined: 4/22/2008 Posts: 75
|
U se a grid view and enable Paging. There are 74 Pages in toltal When a user selects and item i do a postback and run some code. Heres the problem if the user is on Page 50 and select the 2nd item it runs the code postback but the grid loads page 1 if i manualy go to page 50 i can see that the 2nd item is selected. Is there a remember feature to page it load to the page or item that was selected rather than page 1?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am assuming you using client mode. The Grid does remember the current page in server mode and callback mode. But it does not do so in client mode. We will look into it to see if there was any particular reason that it did not support client mode, and if there weren't, see if it is possible to add that on client mode as well.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 4/22/2008 Posts: 75
|
OK thank you as for now i have a temporary fix
function setPage() { var pageIdx = document.form1.hfPage.value*1;
eo_Grid_Dispatcher(null,'preceptorGrid','_Go',pageIdx); } </script> </head> <body onload="javascript:setPage();">
and i set a hiden field with the calculate Page number from the code behind.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
That's awesome! Thanks for sharing!
|
|