Ejemplo n.º 1
0
 // Show new user box
 private void ShowNewUser()
 {
     EntryUser mwcEntryUser = (EntryUser)Parent.FindControl("mwcEntryUser");
     mwcEntryUser.ItsManager = true;
     mwcEntryUser.InitializeBox(true);
     mwcEntryUser.Visible = true;
 }
 // Edit Icon 
 protected void imgBtnEditDet_Click(object sender, ImageClickEventArgs e)
 {
     EntryUser mwcEntry = (EntryUser)Parent.FindControl("mwcEntry");
     mwcEntry.UserID = Convert.ToInt32(imgBtnEditDet.CommandArgument);
     mwcEntry.InitializeBox(false);
     this.HideMukhtarWebUIPanels();
     mwcEntry.Visible = true;
     this.BtnNewActionManner("SHOW");
 }
        // Edit Icon
        protected void lnkBtnEdit_Click(object sender, EventArgs e)
        {
            //----------------------------------------------
            LinkButton lnkBtnEdit = (LinkButton)sender;
            //----------------------------------------------

            EntryUser mwcEntry = (EntryUser)Parent.FindControl("mwcEntry");
            mwcEntry.UserID = Convert.ToInt32(lnkBtnEdit.CommandArgument);
            mwcEntry.InitializeBox(false);
            this.HideMukhtarWebUIPanels();
            mwcEntry.Visible = true;
            this.BtnNewActionManner("SHOW");
        }