Returning values from RadWindow

2 posts, 0 answers
  1. Courtenay
    Courtenay avatar
    22 posts
    Member since:
    Oct 2007

    Posted 07 Apr 2010 Link to this post

    Hi there,

    im trying to do something similar to what is listed in the demo here except that i don't want return the values onclientclose. i need to make the parent window refresh without closing the radwindow.

    So i currently have a Radwindow which has a save button on it. When the save button is clicked in the radwindow it will save some values in the code-behind and then it must refresh the parent window.

    Can this be done? Im really stuck
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Apr 2010 Link to this post

    Hello Courtenay,

    By obtaining a reference to the parent page, you can call any function that is defined in the parent page. Just use the GetRadWindow().BrowserWindow() property to reference the parent page and call the function. The following documentation explains more on this.

    Calling Functions in Windows

    And in the called function invoke an ajaxRequest() to update the parent page content instead of using a postback, since the postback closes the window.

    I hope this would help you to get started,

    Shinu.

Back to Top