Reputation: 617
I'm loading a user control dynamically and displaying it using a RadAjaxPanel. The problem is that my RadTabStrip doesn't render correctly. The skin hasn't been applied and I only see part of the text. If I do a complete refresh of the page then it displays perfectly fine and from that point on it will render correctly even if I load it with AJAX again (until I open up a new browser window and start again).
This symptom is also evident with the RadDatePicker (skin not rendering correctly on initial AJAX load).
Any help will be much appreciated!
Dave.
P.S. I should point out that I'm using this line of code to force the RadAjaxPanel to refresh and it's only then that the problem is experienced:
pnlAjax.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", pnlAjax.ClientID));
Upvotes: 0
Views: 7833
Reputation: 21
Haven´t used the RadAjax-stuff but using jquery ($.ajax) I got it working just by setting RegisterWithScriptManager="false". Maybe helps someone...
Upvotes: 1
Reputation: 30671
If setting EnableAjaxSkinRendering
to true
does not help you can try manually including the required CSS files in the <head>
tag of your page:
<link rel="stylesheet" type="text/css" href="Skins/TabStrip.css" />
<link rel="stylesheet" type="text/css" href="Skins/Default/TabStrip.Default.css" />
Upvotes: 1
Reputation: 152
I had similar problem with runtime load of Telerik controls on ajax request and this was fixed after I enabled ajax skin rendering (saw how to do that from this demo).
Dick
Upvotes: 0