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

Override the CSS file from View

1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manasa
Top achievements
Rank 1
Manasa asked on 03 Jul 2012, 07:41 AM
Hi ,

i am using the CSS file reference in Layout.cshtml  (master page)

@(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add(

 

"telerik.outlook.min.css").Combined(true).Compress(true)))

 


i want to overide this CSS file refrerence from my View.
i have a View called "pnlCalender" , i wish to use the different CSS file for this view alone.

Plese let me know if this can be achived.


1 Answer, 1 is accepted

Sort by
0
Pedro
Top achievements
Rank 2
answered on 10 Jul 2012, 07:26 PM
Why not just add:

<link href="@Url.Content("~/Content/2012.1.419/telerik.outlook.min.css")" rel="stylesheet" type="text/css" />
 
To the top of your view page?

Pedro
Tags
General Discussions
Asked by
Manasa
Top achievements
Rank 1
Answers by
Pedro
Top achievements
Rank 2
Share this question
or