Refresh radgrid in usercontrol in a multipageview from RadWindow

4 posts, 0 answers
  1. Shuja
    Shuja avatar
    30 posts
    Member since:
    Mar 2011

    Posted 12 Mar 2013 Link to this post

    Hi,

    I have a main page which has a RadTabStrip with several tabs & each of these tabs has a page from a RadMultipage assigned to it. Each page has a usercontrol that i have defined which is a Radgrid with different data in each one.

    I also have a radwindow which open the edit window to modify records that the radgrids display. This works fine except once i close the RadWindow, the radgrid in the usercontrol within the pageview does not update. I have tried to databind the RadTabStrip, the RadMultipage control & the Radgrid itself but i don't seemt o be able to get the Radgrids to refresh unless i refresh the whole page.

    Can anyone help with refreshing (rebinding) the radgrid within a usercontrol which is used on a RadMultipage tabstrip & is being updated from a radwindow?

    Regards,

    Shuja
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 15 Mar 2013 Link to this post

    Hello Shuja,

    Please refer to our online demo, where similar functionality is implemented. You could observe the implementation under the "View Source" Tab.

    Kind regards,
    Nencho
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shuja
    Shuja avatar
    30 posts
    Member since:
    Mar 2011

    Posted 15 Mar 2013 Link to this post

    Hi Nencho,

    Thank you for you rresponse but, as far as i can tell, your online demo does not have a Radgrid created in a custom UserControl.
    This is the heart of the problem in my scenario. I need to update the Radgrid, which is created in a custom usercontrol and used in the radTabStrip for multipage tabs, from a pop-up edit window.

    Is there a solution for this?

    regards,

    Shuja 
  5. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 20 Mar 2013 Link to this post

    Hello Shuja,

    Could you elaborate on the approach you had used to load the UserControls in the PageViews? Did you followed the approach demonstrated in the online demo? If so, you could add a reference to the user control in the ViewState and once there is an update, you could access the UserControl and rebind the RadGrid like demonstrated in the previously provided online demo.
    If the issue still persist, I would like to ask you to open a support ticket, along with a runnable sample attached, in order to inspect and troubleshoot the problem locally for you.


    Kind regards,
    Nencho
    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.
Back to Top