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

Display problem of radcontrol skin in azure

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
cwk
Top achievements
Rank 2
cwk asked on 18 Oct 2012, 02:16 AM
Hi, I have a web form application deployed to azure. the skin seems to be having display problem. see attached. any advice appreciated. thanks.

I redeployed many times still no improvement but it worked a few days ago.

Regards
cwk

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 22 Oct 2012, 03:49 PM
Hello,

For some RadControls loading skins requires further handling when the controls first appear after an ajax request. Generally, you need to explicitly load the skin either through RadStyleSheetManager or declare it on the page.

You can try to register the grid (and any other controls with such problems) through the RadStyleSheetManager as shown below and see if it helps. This should explicitly make it render all styles needed for the control, based on its skin.
protected void Page_Load(object sender, EventArgs e)
{
    RadStyleSheetManager mngr = RadStyleSheetManager.GetCurrent(Page) as RadStyleSheetManager;
    mngr.RegisterSkinnableControl(RadGrid1); 
}

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
cwk
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or