Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                _presenter = new PasswordPresenter(this);
                //_presenter.Init();
                //ctlPguid.SelectedValue = Request.QueryString["pguid"].ToString2();

                //_fguid = Request["fguid"];
                //if (!string.IsNullOrEmpty(_fguid))
                //{
                //    _presenter.DataView();
                //}
                PageInit();
            }
        }
Ejemplo n.º 2
0
 protected void DotNetCustomCalDotNetack_CustomCalDotNetack(object sender, Controls.CustomCalDotNetack.DotNetCustomCalDotNetack.CustomCalDotNetackEventArgs e)
 {
     string args = Request["fguid"];
     List = new List<Base_User>();
     if (string.IsNullOrEmpty(args))
     {
         List.Add(new Base_User { Fguid = User.Userid, Password = ctlNewPassword.Text });
     }
     else
     {
         string[] fguids = args.Split(',');
         Base_User data;
         foreach (var item in fguids)
         {
             data = new Base_User();
             data.Fguid = item;
             data.Password = ctlNewPassword.Text;
             List.Add(data);
         }
     }
     _presenter = new PasswordPresenter(this);
     bool result = _presenter.ChangePassword();
     DotNetCustomCalDotNetack.CalDotNetackResult.Result = result.ToString();
 }