Hi everybody,
I have added a dock in the aspx page and I use Telerik skins. I add the skin stylesheet like this, in the OnInit method of the page
I have change a property of the css Dock.MySkin.css page :
But when I load the page, that class is not used. If I put the keyword !important, the class is used. but I wanted to know if there was an other way to override a style which is define in the Dock.MySkin.css.
Moreover, when I check the <head> tag in the source of the page, we can see that the stylesheet is loaded before the telerik axd.
So I wanted to know if :
- It was possible to load the stylesheet after the webresource.axd
- I want the css to be the priority on the webresource.axd, without using the keyword "!important"
Thanks for replying
I have added a dock in the aspx page and I use Telerik skins. I add the skin stylesheet like this, in the OnInit method of the page
HtmlLink lrDock = new HtmlLink();lrDock.Href = "~/style/-1/skins/MySkin/Dock.MySkin.css";lrDock.Attributes.Add("type", "text/css");lrDock.Attributes.Add("rel", "stylesheet");Page.Header.Controls.Add(lrDock);I have change a property of the css Dock.MySkin.css page :
.RadDock_MySkin.rdTop .rdRight {width: 0px;}But when I load the page, that class is not used. If I put the keyword !important, the class is used. but I wanted to know if there was an other way to override a style which is define in the Dock.MySkin.css.
Moreover, when I check the <head> tag in the source of the page, we can see that the stylesheet is loaded before the telerik axd.
<link href="../../../style/-1/skins/MySkin/Dock.MySkin.css" type="text/css" rel="stylesheet" /><link href="/dev/WebResource.axd?d=aqedTiDwmUI4QsO_0Jw61omT-LA1rFwmbV4c1GVQqcU-wKQGCetoudaQtJPuF7ZedWlBts1MIvLkr3B3WKzZshepG7nqpwP86LZM20NTk7RGF4f4b9gBIvvmp8CBaa3_B9m7IQ2&t=634320685135340310" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />So I wanted to know if :
- It was possible to load the stylesheet after the webresource.axd
- I want the css to be the priority on the webresource.axd, without using the keyword "!important"
Thanks for replying