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

[Solved] CSS not rendering

0 Answers 9 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.
Jason
Top achievements
Rank 1
Jason asked on 06 Sep 2012, 01:43 PM
I have two different partial views that have almost the exact same syntax.  Only one of them renders the CSS correctly and other doesn't.  The second page is being displayed from a different location on the server and that is the only difference that I can find.

Both views are using the following syntax at the top...

@(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.sunset.css").Combined(true).Compress(true))) 

http://localhost:5103/Home/Index ==>does work

 

http://localhost:5103/Secure/Login?ReturnUrl=%2f ==>does not work

I also have this in the web.config.
<httpHandlers>
      <add verb="GET,HEAD" path="asset.axd" validate="false" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc" />
</httpHandlers>

Any help would be much appreciated.

Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Share this question
or