How to keep pagination of the Grid after postback or redirect?

I have grid with pagination enabled. How can save or keep the current page that is being view after a post back or redirect? Is there any way to get the current grid page's index and save to a session or viewstate, and later retrieve it to set the grid's current page?

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team March 20, 2018 11:49 AM UTC

Hi Gangatharan, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and we suspect that you want to persist the Grid model once we redirect or post back. So, we suggest you to enable enablePersistence property of ejGrid control. 

We have already discuss about the enablePersistence property in the following help documentation. 



Regards, 
Thavasianand S. 


Loader.
Up arrow icon