Reload Rad Window after dnnModal is closed

3 posts, 0 answers
  1. Sakshi
    Sakshi avatar
    10 posts
    Member since:
    Jun 2012

    Posted 04 Mar 2013 Link to this post


    I am in a tricky situation , some one please help!

    I have a Rad Window which has content(images and video) and I have a link, when clicked opens dnnModal,

    When the link is clicked, and if I decide not to do anything(close the modal), I can avoid refresh of the parent Radwindow by setting the showreturn(5th argument) of dnnModal value to false.

    Now if I decide to do something, example change some text on dnnModal window and close, how can I reload/refresh my parent window(RadWindow) to load the updated content.

    Any help is greatly appreciated!

    Thanks in advance,
  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 06 Mar 2013 Link to this post

    Hi Sakshi,

    I am not familiar with the functionality of the dnnModal control, yet you can work with the RadWindow by using its client-side API ( - get a reference to it and call its reload() method, for example. Or set a new url via the setUrl() method. Or call a function in the content page as explained here if you need some work done there.

    Marin Bratanov
    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. Sakshi
    Sakshi avatar
    10 posts
    Member since:
    Jun 2012

    Posted 06 Mar 2013 Link to this post

    Thanks so much Marin.
    I will try the Reload() method.

Back to Top