Minimize the Radwindow or Open in one corner of the screen when parent page is reload

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 14 Sep 2009 Link to this post

    Want to minimze or show on one corner of the screen
      function OnClientClick_Button()
            {    
                var oWindow = GetRadWindow().BrowserWindow;    
                oWindow.radopen("default.aspx", "RadWindow");   

                  var oWin = null;
                oWin = window.frameElement.radWindow;
                oWin.BrowserWindow.location.reload("Product Info Form.aspx");
            
            } 

    I hv one form Add Cart.aspx open in Child radwindows. How to open the click on Info button on Addcart.aspx refresh the product parent windows . How to refresh the parent page. when i click on child rad windows button  id don't want to close child windows ?



  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 16 Sep 2009 Link to this post

    Hello Rahul,

    Unfortunately, currently this is not possible. When the parent page is reloaded (post back), all dynamically created objects on it, including RadWindow will be destroyed. Basically, in theory it is possible as you can manually save the state (size, position, etc.) of the RadWindow control - for example in a hidden field. This is, however a common programming task and you need to implement it yourself. Please note that this approach will work only when the page is postback-ed. If you press F5, it is the browser that reloads the page and you cannot catch that event.


    Sincerely yours,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top