Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _master = (StoreMaster)Page.Master;
            if (_master == null) throw new HttpUnhandledException("Wrong master page.");

            SetUiProperties();

            ShowMessageIfNewUserWasCreated();

            var user = _userGroup.GetUser(true);

            if (user != null)
                RedirectFromIndexByRole(user.UserName);
        }
Ejemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _master = (StoreMaster)Page.Master;
            if (_master == null) throw new HttpUnhandledException("Wrong master page.");

            SetUiProperties();
        }
Ejemplo n.º 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _master = (StoreMaster) Page.Master;
            if (_master == null) throw new HttpUnhandledException("Wrong master page.");

            var user = _userGroup.GetUser();

            SetTitles(user.UserName);

            if (!IsPostBack)
                FillGridView();
        }
Ejemplo n.º 4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _master = (StoreMaster)Page.Master;
            if (_master == null) throw new HttpUnhandledException("Wrong master page.");

            SetUiProperties();

            if(!Page.IsPostBack)
                RefereshUser();

            FillGridView();
        }