This question is locked. New answers and comments are not allowed.
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)
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:
So, how I supposed to use this? Should I use Telerik HttpHandler or not? This is a bug?
Thanks.
Rodrigo
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