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.
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.
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.