Telerik UI for ASP.NET AJAX

There are cases in which you may want to reduce the grid ViewState though you have enabled multiple server/client side features of the control (thus bypassing the EnableViewState = false choice with its limitations). In such situation to work properly with the NeedDataSource advanced data-binding or population through data source control, Telerik RadGrid's ViewState has to be turned on.

Still, a possible solution for ViewState reduction is to relocate it in a Session variable. The code below illustrates how to apply this technique under ASP.NET 2.x or 3.x: ASP.NET 2.x/3.x:

Further information on this subject can be found in the MSDN articles linked below: http://msdn.microsoft.com/en-us/library/aa479403.aspx

http://msdn.microsoft.com/en-us/library/system.web.ui.pagestatepersister(VS.80).aspx