Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP. NET Web Forms vs MVC
Message
 
 
To
31/08/2012 16:42:56
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01551247
Message ID:
01552192
Views:
76
>Put your site.css last in the list. That way you can override the same style that's declared elsewhere.
>If the file is on the CDN, reference it there.
>

Thanks. How do I know if the jquery.css file is on the CDN? In the development guide it was not mentioned. Also, what about validate query files which are automatically added when we generate a view?

>>I still don't understand, sorry.
>>
>>Should it be
>>
>><html>
>><head>
>>    <meta charset="utf-8" />
>>    <title>@ViewBag.Title</title>
>>    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />       
>>    
>>    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
>>    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
>>   <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
>>
>>   @*     
>>    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
>>    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
>>    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
>>    <script src= "@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type = "text/javascript"></script>*@
>>    
>>    <script src ="@Url.Content("~/Scripts/Socrates.js")" type = "text/javascript"></script>
>>    <script src ="@Url.Content("~/Scripts/DatePickerReady.js")" type = "text/javascript"></script>
>></head>
>>
>>
>>What about all the views and validate jquery? Should it remain pointed to the local site?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform