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

[Solved] Firefox Reloads Content After Minimise/Restore

2 Answers 151 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 11 Jan 2010, 12:22 PM
When a RadWindow is minimised and/or restored in Firefox, the content of the RadWindow is fully re-loaded. This means that, when an aspx page is being used as the content URL, all parameters that the user has entered into fields on the web-form in the RadWindow are discarded.

In IE browsers, the content page is not re-loaded and, therefore, the user can minimise and restore the RadWindow without losing any data.

Is there any workaround/fix for this problem?

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 12 Jan 2010, 07:28 AM
Hello Andy,

This is a default browser's behavior - when an IFRAME is moved in the DOM, Firefox reloads it. I am afraid that at this point we don't have a workaround for it (other than disabling the Minimize option by using the Behaviors property of course).

All the best,
Georgi Tunev
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.
0
Andy
Top achievements
Rank 1
answered on 14 Jan 2010, 11:29 AM
Hi Georgi,

Many thanks for your help. I have disabled the minimise button in non-IE browsers, as you advise.

For interest of others users, this is the code that I have used:

            if (!$.browser.msie || ($.browser.msie && $.browser.version <= 6)){  
                //Minimise & Restore cause a reload in non-IE browsers, so disable those buttons.  
                //Styling when minimised is poor in IE6, so disable minimise in IE6 too.  
                win.set_behaviors(  
                    Telerik.Web.UI.WindowBehaviors.Resize +  
                    Telerik.Web.UI.WindowBehaviors.Maximize +  
                    Telerik.Web.UI.WindowBehaviors.Reload +  
                    Telerik.Web.UI.WindowBehaviors.Move +  
                    Telerik.Web.UI.WindowBehaviors.Close  
                );  
            }  
 

Andy
Tags
Window
Asked by
Andy
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Andy
Top achievements
Rank 1
Share this question
or