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

Persisting Multiple Controls Across Applications

1 Answer 63 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
Marbry
Top achievements
Rank 1
Marbry asked on 21 Oct 2016, 04:15 PM

We have multiple applications that are separate but related.

Each application has multiple instances of controls that we would like to persist the state for in SQL.

When storing this is it just using the control ID to uniquely identify the settings for that particular control?

Essentially, do I need to worry about naming collisions across applications and store a separate record for each application?

Obviously this will inform the table schema and the implementation of the provider that are needed.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 26 Oct 2016, 10:50 AM
Hello Marbry,

Generally you need set a unique StorageProviderKey for each PersistenceManager control in your application. Another possible solution is to use PersistenceManagerProxy where  you can specify a UniqueKey to each instance of the control.

Regards,
Kostadin
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Persistence Framework
Asked by
Marbry
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or