Just add this code to the Page_Init event handler on your page:
protected void Page_Init(object sender, EventArgs e)
{
HtmlGenericControl js = new HtmlGenericControl("script"); js.Attributes["type"] = "text/javascript";
js.Attributes["src"] = "jscript/formfunctions.js";
Page.Header.Controls.Add(js);
}
No comments:
Post a Comment