Rendering Issue - Slider in Panel in IE7

3 posts, 0 answers
  1. Ewan
    Ewan avatar
    1 posts
    Member since:
    Jan 2008

    Posted 06 Jun 2008 Link to this post


    I am experiencing an odd problem with IE 7 but not FF or anything else. The first time I open up my page, the slider is incomplete - it looks like it is missing numbers, its background image etc.

    If I refresh, it is perfect. This is intensely frustrating! I have the latest build - 5/15.
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 09 Jun 2008 Link to this post

    Hi Ewan,

    I tested the described scenario - a RadSlider control in a standard asp Panel control under IE7. In my test page, it looked as expected on the initial page load as you can see form the attached screenshot. For the time being I can only suggest to examine this KB article and advise to explicitly set the panel's sizes. 

    Would you please test my project which is attached and modify it in order to reproduce the problem? Once you have done this, please open a new support ticket, send it back to me and I will do my best to help. 

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 01 Jul 2008 Link to this post

    Hi Ewan,
    A colleague of mine sent me additional information about the setup (the RadSlider is in a PageView) and I created a test page, based on it (attached) and tested it under IE6, IE7 and FF with the latest version of the suite (2008_1_619) and with the previous one (2008_1_515). Unfortunately, I could not reproduce the problem – the slider was displayed as expected the first time, and I did not have to apply a workaround. Generally, when the RadSlider is placed inside an invisible parent, which becomes visible by means of javascript, the RadSlider is not notified of the change and does not recalculate its size. For information, please refer to this article (Svetlina provided this article as a suggestion already).

    However, when the control that is invisible is a RadControl (in this case a PageView), when that RadControl becomes visible, it notifies its child RadControls (in this case the RadSlider). That is why you should not have to apply the workaround in order to get the RadSlider to display correctly. I suppose there is something else in the project with which you were able to reproduce the problem, apart from the RadControls, that leads to the described result. In general, you should find the code that makes the RadSlider visible (or a parent of the RadSlider) and after this code is executed, call “repaint” (or “redraw”) method.

    One additional thing – please test your project with the latest version of the suite, version number 2008_1_619, to see if this makes a difference.
    In case this information does not help, we will really need a test project, demonstrating the problem.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top