HtmlGenericControl si = new HtmlGenericControl();
si.TagName = "script";
si.Attributes.Add("type", "text/javascript");
si.Attributes.Add("language", "JavaScript");
si.Attributes.Add("src", ResolveClientUrl("~/scripts/global.js"));
Generic Control to Head of Page
Leave a Reply
You must be logged in to post a comment.