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

skin not showing in radgrid in update panel

3 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
andieje
Top achievements
Rank 1
andieje asked on 24 Nov 2008, 09:07 AM
HI

I am using radgrid 5.1.2. I can't upgrade to the latest version as you have stopped supporting the skins we use. The radgrid skin is not showing, presumably because the radgrid is contained in an update panel and is not initially visible - it is only displayed after the first postback. Please can you advice how i fix the skin problem

thanks

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Nov 2008, 09:14 AM
Hello andieje,

UpdatePanels does not update page HEAD section where the grid CSS is registered. You can use RadGrid native ajax or RadAjax to resolve this. Other possible approach is to register desired Skin CSS permanently.

Regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
andieje
Top achievements
Rank 1
answered on 24 Nov 2008, 10:34 AM
Thanks for your prompt reply. How do i register the files permanently in the page please?
0
Dimo
Telerik team
answered on 24 Nov 2008, 10:38 AM
Hi andieje,

CSS files are registered on a web page by adding a <link> tag in the <head>

For example:

<link href="~/RadControls/Grid/Skins/SkinName/styles.css" runat="server" rel="stylesheet" type="text/css" />

You can drag and drop the CSS file in Visual Studio design time and the <link> tag will be added automatically.


Kind regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
andieje
Top achievements
Rank 1
Answers by
Vlad
Telerik team
andieje
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or