Is it a common practice to store ISerializble data in the viewstate?
I have a asp.net webpage with a telirik grid on it. To allow paging filtering etc, I want my data(Array of object) to be stored on client side to avoid run trips between client and server. So my intention is to make the object that are bind on the grid ISerializable and stored them in the Viewstatte. So, is it the best practice to so it or should I avoid this?
Thank in advance
It is a bad practice to store list of database objects in the viewstate, because this will put load in your page and will increase the response time of the page.
Only page related data should be stored in the viewstate like sort column and order of sorting etc.
If the data is common for all the users you can cache the objects.