This is a migrated thread and some comments may be shown as answers.

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

1 Answer 86 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 14 Sep 2009, 05:30 AM
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 ?



1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 16 Sep 2009, 02:06 PM
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.
Tags
Window
Asked by
Rahul
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or