This is a migrated thread and some comments may be shown as answers.
CSS Error
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rodrigo Longo
Top achievements
Rank 1
Rodrigo Longo asked on 04 Nov 2010, 07:48 PM
Hi, I have an issue with styles in my application, this is what happens :

If I use this in my master page and I configure the Telerik HttpHandler in web.config , my web page render with troubles (see image attached)

<%= Html.Telerik().StyleSheetRegistrar()
                      .DefaultGroup(group => group
                                  .Add("telerik.common.min.css")
                                  .Add("telerik.vista.min.css")
                                  .Add("site.css")
                                  .Compress(true)
                                  .Combined(true))                                    
    %>

<add verb="GET,HEAD" path="asset.axd" validate="false" type="Telerik.Web.Mvc.WebAssetHttpHandler, Telerik.Web.Mvc" />

But if I add my css files directly in the master page without StylesheetRegistrar and no HttpHandler y the web.config it works just fine:

<link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
 <link href="../../Content/telerik.vista.min.css" rel="stylesheet" type="text/css" />
 <link href="../../Content/telerik.common.min.css" rel="stylesheet" type="text/css" />

So, how I supposed to use this? Should I use Telerik HttpHandler or not? This is a bug?

Thanks.

Rodrigo

1 Answer, 1 is accepted

Sort by
0
Rodrigo Longo
Top achievements
Rank 1
answered on 08 Nov 2010, 08:27 PM
Guys, I have too much troubles with your extensions.
Tags
General Discussions
Asked by
Rodrigo Longo
Top achievements
Rank 1
Answers by
Rodrigo Longo
Top achievements
Rank 1
Share this question
or