RadWindow is closing when we click the F5(Refresh)

2 posts, 0 answers
  1. karunakar
    karunakar avatar
    5 posts
    Member since:
    Jun 2014

    Posted 25 Jun 2014 Link to this post

    Radwindow is closing when refresh the parent page.

    Parent aspx page we are calling this radwindow code:

    var oWnd1 = window.radopen('ABC.aspx', 'List');
    oWnd1.setSize(800, 490); //set as per req
    oWnd1.set_behaviors(4 + 32);
    return false;

    From parent page  we are calling radwindow. here it is showing window . when we click the F5(Refresh)  radwindow is closing automatically.

    Please help us.

    Please revert back to your comments.


  2. Marin Bratanov
    Marin Bratanov avatar
    3562 posts

    Posted 25 Jun 2014 Link to this post

    Hi Karuna,

    When you refresh the page the script is most likely not executed because it requires a user action to trigger it.

    If you want to have a RadWindow shown on the initial load of the page you can show it in the Sys.Application.Load event: http://msdn.microsoft.com/en-us/library/bb383829.aspx.

    An alternative is setting its VisibleOnPageLoad property to true, but this will have it show up after each page load (postback).


    Marin Bratanov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top