Hi,
I tried to implement the demo located here:
http://www.telerik.com/help/aspnet/grid/grdsavingsettingsonperuserbasis.html
The demo was written for the old set of controls; I tried to use the code against the latest version of RadGrid and get the following error:
getting thrown here, when trying to read the settings:
I literally just copy/pasted the demo code into my app and changed the "Telerik.WebControls" reference to "Telerik.Web.UI" instead...
Note, I'm saving and reading the settings to a cookie.
Also tried saving to session (StateServer enabled) and get the same error.
Quick fix?
I tried to implement the demo located here:
http://www.telerik.com/help/aspnet/grid/grdsavingsettingsonperuserbasis.html
The demo was written for the old set of controls; I tried to use the code against the latest version of RadGrid and get the following error:
Unable to cast object of type 'System.Collections.ArrayList' to type 'System.Object[]'.
getting thrown here, when trying to read the settings:
Dim gridSettings() As Object = CType(formatter.Deserialize(reader), Object())
I literally just copy/pasted the demo code into my app and changed the "Telerik.WebControls" reference to "Telerik.Web.UI" instead...
Note, I'm saving and reading the settings to a cookie.
Also tried saving to session (StateServer enabled) and get the same error.
Quick fix?