New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Persitence Framework Limitations

In the following article you can find a list of limitations for Persistence Framework and possible workarounds (if available).

Persist controls nested inside NamingContainers

In the following example demonstrates how to persist controls nested inside TemplateContainer of RadDock. To be able to persist nested controls you need to manually add PersistenceSetting to the manager.

This approach can be used for RadDock, RadWindow (with ContentTemplate) or any custom NamingContainer.

<telerik:RadPersistenceManager ID="RadPersistenceManager1" runat="server">

<telerik:RadDock RenderMode="Lightweight" ID="RadDock1" runat="server">
        <telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBox1" runat="server">
                <telerik:RadComboBoxItem Text="Item1" />
                <telerik:RadComboBoxItem Text="Item2" />
                <telerik:RadComboBoxItem Text="Item3" />
                <telerik:RadComboBoxItem Text="Item4" />
                <telerik:RadComboBoxItem Text="Item5" />
protected void Page_Load(object sender, EventArgs e)
    RadPersistenceManager1.PersistenceSettings.AddSetting(RadComboBox1);//add setting by control instance
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
    'add setting by control instance
End Sub
In this article