protected void Page_Load(object sender, EventArgs e) { MasterPage.IsSecure = true; MasterPage.PageTitle = "You Must Reset Your Password!"; if (!IsPostBack) { List <RibbonPanel> moduleRibbonPanels = StandardModuleRibbons.MyAccountRibbon(); foreach (var moduleRibbonPanel in moduleRibbonPanels) { MasterPage.PageRibbon.Add(moduleRibbonPanel); } MasterPage.PageRibbon.DataBind(); } if (uxPassword.Text != "") { uxPassword.Attributes["value"] = uxPassword.Text; } if (uxReEnter.Text != "") { uxReEnter.Attributes["value"] = uxReEnter.Text; } if (uxCPass.Text != "") { uxCPass.Attributes["value"] = uxCPass.Text; } }
protected void Page_Load(object sender, EventArgs e) { PageTitle = "My Account Information"; if (!IsPostBack) { SetPageRibbon(StandardModuleRibbons.MyAccountRibbon()); lblUID.Text = SRPUser.Uid.ToString(); dv.ChangeMode(DetailsViewMode.Edit); } }
protected void Page_Load(object sender, EventArgs e) { MasterPage.IsSecure = true; PageTitle = "My Account Information"; if (!IsPostBack) { SetPageRibbon(StandardModuleRibbons.MyAccountRibbon()); if (SRPUser == null) { Response.Redirect("~/ControlRoom/", false); } else { lblUID.Text = SRPUser.Uid.ToString(); dv.ChangeMode(DetailsViewMode.Edit); } } }