Revision: 43732
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 30, 2011 01:43 by housecor
Initial Code
HtmlHead head = (HtmlHead)Page.Header; HtmlLink link = new HtmlLink(); 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"));
Initial URL
Initial Description
Initial Title
Add js and css from codebehind
Initial Tags
Initial Language
C#