|
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Summary description for BasePage
/// </summary>
public class BasePage : System.Web.UI.Page
{
public BasePage()
{
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
// This puts a reference to the script but for some reason the script contents aren't loading.
//ClientScript.RegisterClientScriptInclude(typeof(BasePage), "global", "/scripts/global.js");
ClientScript.RegisterOnSubmitStatement(typeof(BasePage), "saving", "MySuperDuper.saving = true;");
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.