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

Telerik.Web.UI.WebResource.axd Head

3 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rudá Cunha
Top achievements
Rank 2
Rudá Cunha asked on 01 Dec 2010, 03:01 PM
I'm trying to add in the css but the head is always in low
Telerik.Web.UI.WebResource.axd how do I fix this?
I need my css is upon Telerik.Web.UI.WebResource.axd but
that is what is in the head.

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 03 Dec 2010, 12:31 PM
Hello Rudá Cunha,

If I understood you correctly, you want in the rendered html, the links to your style-sheet files to appear bellow telerik's. And thus to override the styles.
You cannot do it directly. But there is simple workaround for this. See this blog post.

Best wishes,
Vasil
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Rudá Cunha
Top achievements
Rank 2
answered on 03 Dec 2010, 01:21 PM
This page does not serve you ordered them for me, since I have to go into more
20 files, edit line by line, to add more details
to overwrite it.

There must be an easier way to solve this.
0
Vasil
Telerik team
answered on 03 Dec 2010, 05:04 PM
Hello Rudá Cunha,

On Page_PreRenderComplete event, you can change the header:
protected void Page_PreRenderComplete(object sender, EventArgs e)
{
    LiteralControl skin = new LiteralControl(String.Format("<link href=\"{0}\" type=\"text/css\" rel=\"stylesheet\" class=\"Telerik_stylesheet\">", "YOUR LINK");
    Page.Header.Controls.Add(skin);
}

Check this code library.

Kind regards,
Vasil
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Rudá Cunha
Top achievements
Rank 2
Answers by
Vasil
Telerik team
Rudá Cunha
Top achievements
Rank 2
Share this question
or