HtmlUtilsAddScriptReference Method |
Namespace: PDTec.IceNet.Web.Utils
public static void AddScriptReference( ScriptManager pScriptManager, HtmlUtilsScriptResource resource )
This example shows how to add script references to the Scripts collection of a ScriptManager.
protected void Page_Init(object sender, EventArgs e) { HtmlUtils.AddScriptReference(ScriptManager.GetCurrent(Page), HtmlUtils.ScriptResource.JQuery); HtmlUtils.AddScriptReference(ScriptManager.GetCurrent(Page), HtmlUtils.ScriptResource.JQueryUI); }