This is a migrated thread and some comments may be shown as answers.

saving and loading grid settings

7 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ofer alper
Top achievements
Rank 1
ofer alper asked on 19 Nov 2009, 03:31 PM
Hi,


but it doesn't work. it doesn't even compile. Can someone help?

7 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 19 Nov 2009, 03:38 PM
Hi ofer alper,

The most up-to-date example of such functionality can be found on our online examples under GridView -> Save and load grid settings. May I ask you to take a look at this sample.

Greetings,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Laura
Top achievements
Rank 1
answered on 20 Nov 2009, 11:43 PM
There's no definition of the class RadGridViewSettings provided in that example. I followed the example for SilverLight at http://demos.telerik.com/silverlight/#GridView/SaveLoadSettings but the class ColumnFilterDescriptor is not available in the Q2 binaries. What can I use to save/load FilterSettings?

Thanks,
LauraH
0
Vlad
Telerik team
answered on 23 Nov 2009, 07:09 AM
Hi Laura,

Indeed the code in our demo is related to our latest Q3 release - you can check my blog post for older version.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
ofer alper
Top achievements
Rank 1
answered on 23 Nov 2009, 01:44 PM
I run your code but i got exception in this line:

using (IsolatedStorageFile file = IsolatedStorageFile.GetUserStoreForApplication())

The exception i got is: "Unable to determine application identity of the caller"

Thanks
0
Milan
Telerik team
answered on 24 Nov 2009, 06:54 AM
Hello ofer alper,

Are you creating a regular WPF application or a ClickOnce application? If it is the latter I have found two links that might help.

Exception for GetUserStoreForApplication

IsolatedStorage problems

All the best,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
ofer alper
Top achievements
Rank 1
answered on 24 Nov 2009, 07:18 AM
hi,
i am debugging a regular WPF application
0
Milan
Telerik team
answered on 27 Nov 2009, 10:33 AM
Hi ofer alper,

Could you please try to replace all GetUserStoreForApplication methods in the RadGRidViewSettings class with GetUserStoreForAssembly calls. This should fix the problem.


Greetings,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
ofer alper
Top achievements
Rank 1
Answers by
Milan
Telerik team
Laura
Top achievements
Rank 1
Vlad
Telerik team
ofer alper
Top achievements
Rank 1
Share this question
or