4 Answers, 1 is accepted
0
Hello Anzar,
You need to pass the ID of the RadTileList to the persistence manager: http://www.telerik.com/help/aspnet-ajax/persistence-framework-persistencemanager.html. This will let you preserve the tiles order of the control: http://www.telerik.com/help/aspnet-ajax/persistence-framework-supported-controls.html. You can then save and load settings when needed: http://www.telerik.com/help/aspnet-ajax/persistence-framework-getting-started.html. With Q3 2013 also the selected state of the tiles will be preserved.
Regards,
Marin Bratanov
Telerik
You need to pass the ID of the RadTileList to the persistence manager: http://www.telerik.com/help/aspnet-ajax/persistence-framework-persistencemanager.html. This will let you preserve the tiles order of the control: http://www.telerik.com/help/aspnet-ajax/persistence-framework-supported-controls.html. You can then save and load settings when needed: http://www.telerik.com/help/aspnet-ajax/persistence-framework-getting-started.html. With Q3 2013 also the selected state of the tiles will be preserved.
Regards,
Marin Bratanov
Telerik
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 the blog feed now.
0
Anzar
Top achievements
Rank 2
answered on 28 Aug 2013, 05:29 AM
HI,
I wan to load/save the settings from database , like Saving grid settings on a per user basis(http://www.telerik.com/help/aspnet-ajax/grid-saving-settings-on-per-user-basis.html).
I wan to load/save the settings from database , like Saving grid settings on a per user basis(http://www.telerik.com/help/aspnet-ajax/grid-saving-settings-on-per-user-basis.html).
0
Laurent
Top achievements
Rank 1
answered on 07 Jan 2016, 09:49 AM
HI
I need this, it's possible now?
Thx
0
Hi,
RadPersistenceManager will save the state of the TileList control and thus this has been possible since its creation. What you need to do is the following:
- ensure the Tiles collection is the same each time so the state can be applied
- generate a unique key for each of your users and set it (you can see in this demo that the Session ID is used as a basic example: http://demos.telerik.com/aspnet-ajax/tilelist/examples/application-scenarios/persisting-tilelist-settings/defaultcs.aspx)
- OR, create a custom persistence provider that will use keys generated by you and store into a database according to your preferences: http://docs.telerik.com/devtools/aspnet-ajax/controls/persistenceframework/functionality/-custom-storage-provider. The default way this works is via an XML file in the App_Data folder named according to the Key provided by the developer.
Regards,
Marin BratanovTelerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items