protected override void Page_Load(object sender, EventArgs e) { base.Page_Load(sender, e); AbTestingVersionUpdate updateVersionInfo = new AbTestingVersionUpdate(); updateVersionInfo.LoadScripts(Page); updateVersionInfo.UpdateVersionNameWhileAbTesting(); }
protected override void Page_Load(object sender, EventArgs e) { base.Page_Load(sender, e); AbTestingVersionUpdate updateVersionInfo = new AbTestingVersionUpdate(); updateVersionInfo.LoadScripts(Page); //DataBind is needed for the dynamic file load but will reset repeater and datalist view state. If you are using those controls disable this line and DataBind each page individually. -Mahdi if (!IsPostBack) { DataBind(); } updateVersionInfo.UpdateVersionNameWhileAbTesting(); }
protected override void Page_Load(object sender, EventArgs e) { if (EnableEmptySessionRedirect) { if (ClientOrderData == null && string.IsNullOrEmpty(Request.QueryString["emppage"])) { Response.Redirect("CheckoutSessionExpired.aspx?emppage=" + HttpUtility.UrlEncode(Request.Url.LocalPath), true); } } base.Page_Load(sender, e); if (!Page.IsPostBack) { DoDeviceRedirect(ClientOrderData.VersionId); } AbTestingVersionUpdate updateVersionInfo = new AbTestingVersionUpdate(); updateVersionInfo.LoadScripts(Page); updateVersionInfo.UpdateVersionNameWhileAbTesting(); }