/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
HtmlHead head = (HtmlHead)Page.Header; link.Attributes.Add("href", Page.ResolveClientUrl("~/css/your sheet.css")); link.Attributes.Add("type", "text/css"); link.Attributes.Add("rel", "stylesheet"); head.Controls.Add(link); Page.ClientScript.RegisterClientScriptInclude("jsname", Page.ResolveUrl("~/javascript/yourjs.js"));
Comments
