RadWindow height in Firefox 3

13 posts, 0 answers
  1. rwozniak
    rwozniak avatar
    47 posts
    Member since:
    Oct 2007

    Posted 06 Oct 2008 Link to this post

    I've been battling a height issue in Firefox 3, and just realized that the same issue also happens in the First Look sample on your site:

    http://demos.telerik.com/ASPNET/Prometheus/Window/Examples/Default/DefaultCS.aspx

    When the Height slider is reduced below 214px, changes are not recognized. In other words, even if I drag it down to 100px, it still remains at a height of 214.

    It works fine in IE7 however.

    Ross
  2. rwozniak
    rwozniak avatar
    47 posts
    Member since:
    Oct 2007

    Posted 07 Oct 2008 Link to this post

    By the way, when I set the height of a RadWindow to 100px, I can see it paint briefly at that height...then it jumps quickly to 214px. So it must be something in one of the Telerik scripts that run on load that is overriding my height setting.

    FYI, I open my dialog by calling the radopen function, then call set_width and set_height.

    Ross
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Oct 2008 Link to this post

    Hello Ross,

    This behavior is due to a bug in Firefox that occurs when you have an IFRAME in a table - which is basically RadWindow's structure. If you set a very small height (about 150px), the table shrinks as expected, however the IFRAME element doesn't.
    So far we were not able to find an appropriate cross-browser workaround for this problem but if we manage to fix it, we will implement the fix right away. For the time being, when you want to display something in a very small container, I would suggest to use RadDock or RadToolTip.



    Best wishes,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. rwozniak
    rwozniak avatar
    47 posts
    Member since:
    Oct 2007

    Posted 09 Oct 2008 Link to this post

    Thanks very much for the information Georgi.

    Now that the RadTooltip supports modality, I'll probably try and move all of my dialogs to that control.

    Ross
  5. Rick
    Rick avatar
    49 posts
    Member since:
    Oct 2008

    Posted 13 Jan 2009 Link to this post

    I would be interested to know when this bug gets resolved :)
  6. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 13 Jan 2009 Link to this post

    Hello Rick,

    We are still investigating the problem and we are currently working on it. It is not very easy to find a good solution because the described problem is due to bug in the specific browser. However, once we find the best solution we will integrate it right away. 

    Greetings,
    Fiko
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Rick
    Rick avatar
    49 posts
    Member since:
    Oct 2008

    Posted 13 Jan 2009 Link to this post

    Oh sorry, perhaps I have  a seperate issue:

    I am using the radWindow for the ConfirmDialogType in the GridButtonColumn.

    <telerik:GridButtonColumn ButtonType="ImageButton" Text="Delete Price" 
          CommandName="DeleteLine" ImageUrl="images/delete.gif" ItemStyle-Width="16px" 
          ConfirmDialogType="radWindow" ConfirmText="Are you sure you want to delete this price?" ConfirmTitle="Confirm Delete" /> 

    However the dialog box (across IE, Firefox and Chrome) always seems to be too tall for the containing text. I thought it might be down to the same issue but since its across all browsers perhaps not.
  8. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 Jan 2009 Link to this post

    Hello Rick,

    I cannot tell if this is the same problem or not, but if you open a support ticket and send me a small sample project, I can check it right away. Just make sure that the project can be run locally and attach it to the support thread with a reference to this topic. I will examine your code and do my best to help you.



    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Rick
    Rick avatar
    49 posts
    Member since:
    Oct 2008

    Posted 14 Jan 2009 Link to this post

    Hi Georgi,

    I've submitted a ticket with an example, but I've also noticed it does it on your example pages as well:

    http://demos.telerik.com/aspnet-ajax/Window/Examples/BrowserDialogBoxes/DefaultCS.aspx

    Compare the height of the dialog box when clicking the two RIGHT buttons, compared to the LEFT buttons.


    I've also just noticed that when you click 'show CONFIRM BOX', and click on the box to alter the focus, the buttons move a bit. It does this across all browsers.
  10. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 Jan 2009 Link to this post

    Hello Rick,

    In the demo, one of the radalert dialogs has width and height set (the one called from the left column), while the other is using the default size - that is the reason for the different look.

    OK, we will examine your project and do our best to provide you with a solution as soon as possible.


    Kind regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. Ryan Helms
    Ryan Helms avatar
    1 posts
    Member since:
    Mar 2009

    Posted 02 Jul 2009 Link to this post

    Hello,

    I am having the same exact issue with the 214px height, regardless if the height is set smaller. I will watch this thread for a fix. This is fairly important for the UI of my application. 

    Thank you,
    Ryan Helms
  12. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 31 Oct 2009 Link to this post

    Hi

    I am using the Q2 2009 hot fix release (downloaded today Oct31 2009) and I have the Firefox
    'minimum height' issue on a new page created today.

    The status is
    IE8 and Opera                  OK
    Firefox, Chrome, Safari    'min height' problem

    I tried with autosize = true and can see it try to size to the content correctly then increase again to
    the min height.

    Is there a ( perhaps browser specific) workaround? It seems it is not just a Firefox bug - perhaps a difference
    of interpretation of standards.

    If possible I would like to stick to the RadWindow for maximum code re-use.

    Thanks

    Clive

  13. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Nov 2009 Link to this post

    Hello Clive,

    Yes, the problem is with Gecko/WebKit based browsers and there is still no official fix for this bug in them. We managed to find a workaround for some scenarios, but we do not guarantee that it will work in all cases. I've attached the workaround to this thread - I hope it will be of help.



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