Opera and AutoResize

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    146 posts
    Member since:
    May 2008

    Posted 14 Mar 2012 Link to this post


    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?

  2. Marin Bratanov
    Marin Bratanov avatar
    5936 posts

    Posted 15 Mar 2012 Link to this post

    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.
Back to Top