This question is locked. New answers and comments are not allowed.
As far as I can tell, the current documentation does not include any section providing detailed instructions for importing and using a custom skin designed, built and downloaded from the VisualStyleBuilder at stylebuilder.telerik.com.
Could you please provide these detailed instructions for how to use the custom skin with a Telerik MVC 3 Razor project?
In particular, I would also like to know whether Telerik has used any explicit naming conventions for all document elements to which css classes/ids apply so that I can avoid conflicts with my own skin for the header and footer of my web site. In other words, I want the Telerik skin to apply only to the main body of the page or only to the Telerik controls but otherwise not to rest of the header or footer of the page.
Could you please provide these detailed instructions for how to use the custom skin with a Telerik MVC 3 Razor project?
In particular, I would also like to know whether Telerik has used any explicit naming conventions for all document elements to which css classes/ids apply so that I can avoid conflicts with my own skin for the header and footer of my web site. In other words, I want the Telerik skin to apply only to the main body of the page or only to the Telerik controls but otherwise not to rest of the header or footer of the page.
6 Answers, 1 is accepted
0
Hello Carl,
Our CSS classes use a "t-" prefix in order to prevent conflicts. Using the custom skin is simply linking to its stylesheet, placed in the Content folder, not unlike any other stylesheet.
Regards,
Alex Gyoshev
the Telerik team
Our CSS classes use a "t-" prefix in order to prevent conflicts. Using the custom skin is simply linking to its stylesheet, placed in the Content folder, not unlike any other stylesheet.
Regards,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Carl
Top achievements
Rank 1
answered on 31 Jan 2011, 06:09 PM
Is it necessary to add the stylesheet with both a <link /> tag and also to the StyleSheetRegistrar DefaultGroup? Are both of the following lines necessary? <link href="@Url.Content("~/Content/telerik.GtgVista.css")" rel="stylesheet" type="text/css" />
and @(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.GtgVista.css")))
and @(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.GtgVista.css")))
0
Accepted
Hi Carl,
You don't need them both. The stylesheet registrar outputs the <link /> for you (plus, if you use the stylesheet registrar you can compress and combine your CSS).
Greetings,
Alex Gyoshev
the Telerik team
You don't need them both. The stylesheet registrar outputs the <link /> for you (plus, if you use the stylesheet registrar you can compress and combine your CSS).
Greetings,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Sushil
Top achievements
Rank 1
answered on 02 Jun 2011, 10:01 PM
Hi Alex,
I want to use custom skin for calendar control in razor syntax.
Can you give me an example of how to refer class in calendar control declaration part.
Thanks,
Sushi.
I want to use custom skin for calendar control in razor syntax.
Can you give me an example of how to refer class in calendar control declaration part.
Thanks,
Sushi.
0
Wade
Top achievements
Rank 1
answered on 16 Aug 2011, 08:44 PM
Did you ever get a response on this for Razor? I have downloaded the Metro Skin for an Asp.Net Razor MVC Project. I have also converted the default Asp.Net MVC 3 web application to the Telerik version via the Telerik Extensions.
1. So how do I activate the Skin for it?
2. Is it on the CDN telerik.metro.css?
Thanks,
Wade
1. So how do I activate the Skin for it?
2. Is it on the CDN telerik.metro.css?
Thanks,
Wade
0
Hello Wade,
Atanas Korchev
the Telerik team
The Metro skin is available only for RadControls for ASP.NET Ajax which do not support Razor because they are WebForms controls. We will introduce the Metro skin for Telerik Extensions for ASP.NET MVC in the upcoming release.
Regards,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items