Refresh RadGrid Data Inside a RadWindow

2 posts, 0 answers
  1. Fady
    Fady avatar
    2 posts
    Member since:
    Sep 2011

    Posted 18 Sep 2011 Link to this post

    Hi all,

    I am developing webparts for Sharepoint using Telerik Controls.
    I need to put a RadGrid inside a RadWindow so users could acces it when searching for specific data.
    RadGrid data change while choosing specific fields from Combobox from a different control.
    My problem is the RadGrid Data that is inside the RadWindow is not changing.
    I am opening the RadWindow from javascript and reloading RadGrid Data from server side.
    Can you help me with this issue please.

    Thank you in advance.

    Fady
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4609 posts

    Posted 20 Sep 2011 Link to this post

    Hello Fady,

      It seems that you are using a RadWindow with the ContentTemplate (since you stated that you update the grid from the server event of another control, I doubt this is done cross-page). If this is the case the most likely reason for your issue is the fact that the RadWindow moves its content in the DOM - it has to be a direct child of the form, so it is not located in the place it is declared. This means that you need to put the update panel directly in the ContentTemplate and not around the entire RadWindow, as explained in the following help article: http://www.telerik.com/help/aspnet-ajax/radwindow-ajaxifying.html.


    Kind regards,
    Marin
    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