This is a migrated thread and some comments may be shown as answers.
Opera and AutoResize
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Andreas asked on 14 Mar 2012, 04:25 PM

We are having some problems with the Opera 11 and AutoResize of the RadWindow.
We are setting an url to the window. If the content of the window is small (less than 350px) our RadWindow still becomes 350px high (with white space below).

When checking out the autosize source code in Telerik, I discovered the following lines of code:
            if ($telerik.isIE || $telerik.isFirefox)
                sizingElement = contentFrame;

When I did a prototype on the entire autoSize function and including Opera in the if statement, everything worked as expected!!!
Don't know if there are side-effect of this, but normally Opera behaves like these browsers so it should be OK.

Is this something you might fix in a future release?


1 Answer, 1 is accepted

Sort by
Marin Bratanov
Telerik team
answered on 15 Mar 2012, 04:41 PM
Hi Caesar,

Thank you for your report and for taking time to investigate the scenario. Indeed, there are some issues with the size of the RadWindow under Opera (i.e. it is taller than it should be). We are aware of this and once a viable solution is found it will be incorporated in the code, but the less than adequate debugging tools for this browser make it harder to research this situation. I also tried your suggestion, yet it did not result in an improvement on my end, as the autosizing is not the origin of this height difference. The exact code you are referring to is actually a workaround for a quirk in IE and FF, not a feature of these browsers.

All the best,
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.
Asked by
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question