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

    Hello!

    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,
    Sakshi
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 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 (http://www.telerik.com/help/aspnet-ajax/window-programming-radwindow-methods.html) - 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.


    Regards,
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. 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