Becky Bryda
Top achievements
Rank 1
Becky Bryda
asked on 02 Apr 2013, 07:33 PM
I'm using the Profile and the grid persistence code located here:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/storing-multiple-grid-settings-in-database-via-profile.aspx
This code lacks the ability to save CurrentFilterFunction and CurrentFilterValue.
I've tried the new code persistence, but can't get it to save with the profile code and really don't want to redo everything. Any help on saving & loading just CurrentFilterFunction and CurrentFilterValue with the original code?
http://www.telerik.com/community/code-library/aspnet-ajax/grid/storing-multiple-grid-settings-in-database-via-profile.aspx
This code lacks the ability to save CurrentFilterFunction and CurrentFilterValue.
I've tried the new code persistence, but can't get it to save with the profile code and really don't want to redo everything. Any help on saving & loading just CurrentFilterFunction and CurrentFilterValue with the original code?
5 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 03 Apr 2013, 04:29 AM
0
Becky Bryda
Top achievements
Rank 1
answered on 03 Apr 2013, 12:38 PM
Sorry, not really the answer i was looking for. I spent a decent amount of time trying to incorporate the filter code from the sample into the already implemented solution without luck. Everything else works fine, my users just noticed this one piece. I tried to quickly switch the demo code but without luck with the profile information. Really could just use some direction in adding the filter code to the sample noted below. thank you
0
Hi,
In order to achieve your goal you could use our new Persistence Framework. You could check this online demo application for more information.
Give it a try and you should succeed.
Greetings,
Andrey
the Telerik team
In order to achieve your goal you could use our new Persistence Framework. You could check this online demo application for more information.
Give it a try and you should succeed.
Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Becky Bryda
Top achievements
Rank 1
answered on 08 Apr 2013, 01:06 PM
So the answer then is no easy way to implement with the solution mentioned above? I really don't want to unravel everything already implemented to switch to a new approach. I recommend taking the other solution off the website if it isn't supported.
0
Hello Becky,
Indeed, it is possible to modify the code-library project to persist the full set of column settings. It would be easier for you if you use the demo posted by Shinu as a starting point. Nevertheless, I have modified the original example for your convenience. You can download it from the attachments.
You can also take advantage of the persistence framework offered by Andrey. For this purpose you would have to create a custom storage provider (which I'm sure will be easy for you). You could follow the model demonstrated in the following example: Custom Storage Provider
I hope this helps.
Regards,
Daniel
the Telerik team
Indeed, it is possible to modify the code-library project to persist the full set of column settings. It would be easier for you if you use the demo posted by Shinu as a starting point. Nevertheless, I have modified the original example for your convenience. You can download it from the attachments.
You can also take advantage of the persistence framework offered by Andrey. For this purpose you would have to create a custom storage provider (which I'm sure will be easy for you). You could follow the model demonstrated in the following example: Custom Storage Provider
I hope this helps.
Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.