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;
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
        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);
                }
            }
        }