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

[Solved] Problem with EnableEmbeededSkins

1 Answer 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew Metcalfe
Top achievements
Rank 2
Andrew Metcalfe asked on 23 May 2008, 11:49 AM
Hi,

I have been trying to use the EnableEmbeddedSkins by setting in my Default Theme I have for the website and then for more complicated Grids I am creating putting  EnableEmbeddedSkins="true" however this is not overriding the setting in my Theme file?

Is there something I am missing?

in the Theme:
<telerik:RadGrid runat="server" PageSize="5" AllowPaging="True" CssClass="nomargin" EnableEmbeddedSkins="false">
                       <PagerStyle Position="Bottom" ShowPagerText="False" VerticalAlign="Bottom" Mode="NextPrevNumericAndAdvanced" />
</telerik:RadGrid>

In the ascx file:
            <telerik:RadGrid ID="rgUsers" runat="server" AutoGenerateColumns="false" GroupingEnabled="true"
                OnNeedDataSource="BindGridNeedDataSource" EnableViewState="true" AllowSorting="true"
                ShowGroupPanel="true" Width="100%"
                EnableEmbeddedSkins="true" Skin="Default2006" CssClass="nomargin">

Any thoughts?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 May 2008, 08:40 AM
Hi Andrew Metcalfe,

We believe this is the expected behavior - please review this msdn article elaborating on themes and more specifically the "Theme Settings Precedence" section. If you want the local settings to override the theme settings, you should use StyleSheetTheme property of the Page directive instead.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Andrew Metcalfe
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or