Cannot Find RadGrid when in a RadPanelBar

3 posts, 1 answers
  1. IT
    IT avatar
    5 posts
    Member since:
    May 2008

    Posted 15 Sep 2017 Link to this post

    I am having difficulty with the Persistence Framework.  My application has a master page and the RadGrid is in a content page.  When the RadGrid is at the root of the page (i.e. just under asp:Content), I can save/load the grid settings with no issue whatsoever.  But that's not where I want my RadGrid.  I want it in a RadPanelBar.  And when I have it there, the Persistence Framework says it cannot find the control. 

    Here is some simplified code.  This first part works:

                <telerik:PersistenceSetting ControlID="m_rgPayables" />


    ... et cetera.  But when I put the RadGrid in a RadPanelBar, the Persistence Manager says that it cannot find the control.  Specifically if I put the RadGrid inside the ContentTemplate of a RadPanelItem. 

    Any ideas?  I feel like I'm so close.



  2. Answer
    Eyup avatar
    4045 posts

    Posted 20 Sep 2017 Link to this post


    The grid and the persistence framework manager should be in the same NamingContainer. You can use these following options to resolve this issue:

    1. Place the persistence manager in the same template as the grid.

    2. Or set the ControlID of the manager to be the UniqueID of the grid, not its direct ID.

    I hope this will prove helpful.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. IT
    IT avatar
    5 posts
    Member since:
    May 2008

    Posted 22 Sep 2017 in reply to Eyup Link to this post

    Thank you very much.  Putting the persistence manager in the content template did the trick! 
Back to Top