Example #1
0
    /// <summary>
    /// Handles the Load event of the Page control.
    /// </summary>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
    protected void Page_Load(object sender, EventArgs e)
    {
        BindScripts();
        ManagementHelper.RegisterBrowserStyles(this);

        if (!this.IsPostBack && !IsCallback) // determine if the request is call back
        {
            //DataBind();
        }
    }
Example #2
0
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            //set application name to page title
            Literal1.Text = String.Format("{0} - {1}", AppContext.Current.ApplicationName, UtilHelper.GetResFileString("{SharedStrings:Mediachase_Commerce_Manager_5_0}"));

            Response.Cache.SetNoStore();
            GetDefaultLink();
            RegisterScripts();

            ManagementHelper.RegisterBrowserStyles(this);
        }