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

Occasional problem with incomplete rendering

3 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
M. Athir Gillani
Top achievements
Rank 1
M. Athir Gillani asked on 03 Nov 2009, 02:43 PM
Hi,

I have integrated Telerik Ajax Controls in our asp.net web application. They seem to be working fine at most of the time. But occasionally, they do not completely render, for some reason. I am attaching an image of the produced bug, to give you better understanding of the problem.

Is any other person facing this problem. Is it a known issue in the SDK. I have found some people complaining that they are facing such problems using specific controls like Chart control. For chart, images are produced at run time, and the request for the image is processed by the server before the image is generated sometimes, due to which it produces the error of image not being found. But in this case, I think the images would be static. This should not be the problem then?

Regards
Athir Gillani

3 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 06 Nov 2009, 07:09 AM
Hello M. Athir,

On the screen shot you appear to be using RadWindow and it seems it's lost all its styles and skins. This problem appears when your scripts or skins cannot be properly fetched from the server. A common cause for this behavior is if your controls have not been initially rendered on page (with Visible = false) and are getting visible after AJAX. Alternatively, RadStyleSheetManager may sometimes cause the same style loss.

All the best,
Veli
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.
0
M. Athir Gillani
Top achievements
Rank 1
answered on 11 Nov 2009, 11:18 AM
Veli,

Thanks for your response Veli, yes you are right, this looks the most probable reason that we are facing this problem, that the scripts or style sheets for the required skin are not getting downloaded in time. And I am facing this problem on many pages and it is quite reproducable, not only for the RadWindow as in the attached image.

but what can be the solution for it. How can we ensure, on a machine which is having access to slow internet connection, that before the script which applies the styles, only runs once all the required files are available that are required to apply the appropriate skin.

thanks, best regards
Athir Gillani
0
arnaud
Top achievements
Rank 1
answered on 11 Nov 2009, 02:04 PM
Hi Athir,

We had a similar issue a while ago, on IE only.
Veli said that 'RadStyleSheetManager may sometimes cause the same style loss'.

In our case, using RadStyleSheetManager solved the problem under IE.
If you are using a lot of css, all declared in a theme, there is a known limitation : IE can load up to 32 css files (in our case after 25 css files we had some css not taken into consideration).

If you don't already use it, try to add :

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>

in your masterpage for example.

Regards,
Arnaud Boiselle







Tags
General Discussions
Asked by
M. Athir Gillani
Top achievements
Rank 1
Answers by
Veli
Telerik team
M. Athir Gillani
Top achievements
Rank 1
arnaud
Top achievements
Rank 1
Share this question
or