This is a migrated thread and some comments may be shown as answers.

Rendering Issue - Slider in Panel in IE7

2 Answers 163 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Ewan
Top achievements
Rank 1
Ewan asked on 07 Jun 2008, 04:18 AM
Hi,

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 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Jun 2008, 01:48 PM
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,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tsvetie
Telerik team
answered on 01 Jul 2008, 11:24 AM
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 http://www.telerik.com/support/kb/article/b454K-hhb-b454T-cmd-b454c-cmd.aspx (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.

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Slider
Asked by
Ewan
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Tsvetie
Telerik team
Share this question
or