3 Answers, 1 is accepted
0
Hi Jayanth,
Here is the relevant help article:
http://www.telerik.com/help/aspnet-ajax/grdperformingbatchupdates.html
You can store data in ViewState or Cache instead Session.
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Here is the relevant help article:
http://www.telerik.com/help/aspnet-ajax/grdperformingbatchupdates.html
You can store data in ViewState or Cache instead Session.
Regards,
Vlad
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Jayanth
Top achievements
Rank 1
answered on 11 Feb 2009, 01:41 PM
Hi,
Can you please provide any reference implementation using viewstate?
Can you please provide any reference implementation using viewstate?
0

Shinu
Top achievements
Rank 2
answered on 12 Feb 2009, 05:10 AM
Hi Jayanath,
You can just replace Session with ViewState to store the Data retrieved from DataBase.
CS:
Thanks
Shinu
You can just replace Session with ViewState to store the Data retrieved from DataBase.
CS:
public DataTable CustomersTable |
{ |
get |
{ |
//replace Session with ViewState |
DataTable res = (DataTable)this.ViewState["CustomersTable"]; |
if ( res == null ) |
{ |
res = DataSourceHelperCS.GetDataTable("SELECT TOP 5 [CustomerID], [CompanyName], [ContactName], [ContactTitle], [Address], [City] FROM [Customers]"); |
this.ViewState["CustomersTable"] = res; |
} |
return res; |
} |
} |
Thanks
Shinu