protected void Page_Load(object sender, EventArgs e) { _signInManager = Request.GetOwinContext().Get <ApplicationSignInManager>(); LoginCtrl.Authenticate += LoginCtrl_Authenticate; if (IsPostBack) { return; } LoginCtrl.FindControl("ApplicationRow").Visible = AppContext.Current.GetApplicationDto().Application.Count != 1; LoginCtrl.Focus(); }
protected void Page_Load(object sender, EventArgs e) { Page.Header.DataBind(); SignInManager = Request.GetOwinContext().Get <ApplicationSignInManager <SiteUser> >(); LoginCtrl.Authenticate += LoginCtrl_Authenticate; if (IsPostBack) { return; } LoginCtrl.FindControl("ApplicationRow").Visible = Mediachase.Commerce.Core.AppContext.Current.GetApplicationDto().Application.Count != 1; LoginCtrl.Focus(); }