Welcome Guest Search | Active Topics | Sign In | Register

EO Grid Paging Issues Options
ROI.Solutions
Posted: Monday, June 2, 2008 10:59:02 AM
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?
eo_support
Posted: Monday, June 2, 2008 11:16:24 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
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
ROI.Solutions
Posted: Monday, June 2, 2008 11:31:33 AM
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.
eo_support
Posted: Monday, June 2, 2008 11:37:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
That's awesome! Thanks for sharing!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.