Minimum height browser inconsistency?

3 posts, 0 answers
  1. Jim
    Jim avatar
    2 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Internet Explorer allows you to set / resize the height of a radwindow to be very small, even down to 0px. However, every other browser I've tested only allows the height to go down to about 100 pixels. Am I missing something obvious or does anyone know a workaround to make a radwindow's height about 50px on every browser? Thanks!
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 22 Jul 2010 Link to this post

    Hi Jim,

    The problem comes from a bug with Gecko / Webkit browsers. They incorrectly renders tables with iFrames in it when the height is less than about 150 pixels (the RadWindow is basically an IFRAME). You could test it by adding the following code in an aspx page. You will notice that the height of the IFRAME is not 100px but about 150px (the code below is actually the basic RadWindow's structure when RadWindow loads external page):
    <table style="height:100px;border:3px solid green">  
        <tr style="height:100%"
            <td style="height:100%"
                <iframe style="border: 1px solid red; height:100%" src=""></iframe>
            </td>
        </tr>
    </table>

    To be able to use a popup with such small height, I should use RadWindow as a controls container, i.e. to have the content on the main page. In such case, RadWindow does not use IFRAME, but renders a DIV element and the browsers' bug will not affect the height. More information on how to use RadWindow as a controls' container is available in the demo above and in this help article.

    Regards,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jim
    Jim avatar
    2 posts
    Member since:
    Jul 2010

    Posted 22 Jul 2010 Link to this post

    Georgi,

    Thank you very much for your quick and helpful response!

    Jim
Back to Top