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

Themes not applied to Telerik Controls inside Custom User Controls

1 Answer 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 11 Oct 2011, 04:47 PM
We are in the process of updating an older website to use Master Pages along with Telerik controls. In addition to updating the CSS we have also created a Skin file, in which we have set the desired look/feel of the Telerik controls (for example):

<telerik:RadDatePicker runat="server" Skin="Windows7" /><br>
<telerik:RadAjaxLoadingPanel runat="server" Skin="Windows7" /><br>
<telerik:RadGrid runat="server" Skin="Windows7"><br>
    <PagerStyle PagerTextFormat="{4} {5} Matches Found &nbsp;&nbsp;&nbsp; • &nbsp;&nbsp;&nbsp; Displaying Items {2} to {3} on Page {0} of {1}." /><br>
</telerik:RadGrid><br>
<telerik:RadComboBox runat="server" Skin="Windows7" />

This Skin file has been working perfect in our remodel until we created a Custom User Control (.ascx) with some Telerik controls (RADGrid and Loading Panel). These controls do not get the Skin applied.  If I manually add the Skin attribute in the Source of the .ascx page itself, the controls then look as desired.... but it should be the site-wide Skin file that controls this.

What could possibly be causing this problem?

-- Andrew

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 12 Oct 2011, 05:12 PM
Hello Andrew,

Have you specified the Them attribute in the page directive? I am sending a small sample that should work as expected.

Hope it helps.

Best wishes,
Tsvetoslav
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
Andrew
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or