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

[Solved] How to register embedded skin for a radgrid

2 Answers 251 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Muhamed Shafi
Top achievements
Rank 1
Muhamed Shafi asked on 27 May 2011, 01:48 PM
Hi there,
    How can I use an embedded skin for a rad grid ? I used the coding below

<telerik:RadGrid runat="server" ID="rdGd1"  EnableEmbeddedSkins="true"

 

 

 

skin="MySkin" GridLines="None">

 


which gives me an error like :

Telerik.Web.UI.RadGrid with ID='rdGd1' was unable to find embedded skin with name 'MySkin'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.



Could you please give me a solution for this ?
Thanks
Shafi


 

 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 May 2011, 02:10 PM
Hello Muhamed,

In order to set the Skin property of the RadGrid to an existing skin name set the RadGrid property EnableEmbeddedSkins as "False". Check the following documentation which explains more about this.
Modifying existing skins/creating new skins.

Thanks,
Shinu.

0
Pavlina
Telerik team
answered on 27 May 2011, 02:13 PM
Hi Muhamed,

Custom skins are not embedded so the control cannot register them automatically. If you want to use a custom skin you need to set the Skin property, and the EnableEmbeddedSkins property of the control to false.
Refer to the help article below for more information:
http://www.telerik.com/help/aspnet-ajax/grid-appearance-skins.html
 
Kind regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Muhamed Shafi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or