Hi there
I'm trying to add a css file from code behind but I notice that I get this error:
Skipped loading 1 invalid resource.
Dim stylesheetItem As StyleSheetReference = New StyleSheetReference()
stylesheetItem.Path = "~/App_Themes/test.css"
StylesheetManager1.StyleSheets.Add(stylesheetItem)
On my master theme I got:
<telerik:radstylesheetmanager ID="StylesheetManager1" runat="server" EnableStyleSheetCombine="true">
<StyleSheets>
<telerik:StyleSheetReference Path="~/App_Themes/common.min.css" />
</StyleSheets>
</telerik:radstylesheetmanager>
Can stylesheets be added from code behind?
Regards DotnetShadow
I'm trying to add a css file from code behind but I notice that I get this error:
Skipped loading 1 invalid resource.
Dim stylesheetItem As StyleSheetReference = New StyleSheetReference()
stylesheetItem.Path = "~/App_Themes/test.css"
StylesheetManager1.StyleSheets.Add(stylesheetItem)
On my master theme I got:
<telerik:radstylesheetmanager ID="StylesheetManager1" runat="server" EnableStyleSheetCombine="true">
<StyleSheets>
<telerik:StyleSheetReference Path="~/App_Themes/common.min.css" />
</StyleSheets>
</telerik:radstylesheetmanager>
Can stylesheets be added from code behind?
Regards DotnetShadow