Control Update after RADWindow is Closed

2 posts, 0 answers
  1. PJ Rodriguez
    PJ  Rodriguez avatar
    37 posts
    Member since:
    Feb 2005

    Posted 30 Nov 2010 Link to this post

    I have a RADTreeView that has a context menu item. When the context menu item is clicked a RADWindow is called and made visible to the end user for input. After the user is finished inputting, the data is inserted into a database. This data then becomes a ndoe within the RADTreeView.

    What I want is for the RADTreeview to reflect this change in after the RADWindow is closed. Is this possible?

    Right now, the only way for the changes to be reflected is to refresh the whole page.

    Any help would definitely be appreciated. Thank you.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Dec 2010 Link to this post


     Attach OnClientClose to RadWindow and in the handler, invoke an ajaxRequest to server. Now in the server code (AjaxMAnager_AjaxRequest) refresh the RadTreeView control.

    To make an Ajax request, you need to get a reference to the Ajax manager in the main page. Please check this help article for more details:

    Feel free to write again if you need further help.

Back to Top