/// <summary> /// Добавить новый Аккаутн /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void pnAddUser_InsertClick(object sender, EventArgs e) { lvUsers.EditIndex = -1; lvUsers.SelectedIndex = -1; InsertUserGroup.ModeTable = FormViewMode.Insert; //InsertUserGroup.Change = this.Change; InsertUserGroup.DataBind(); }
/// <summary> /// Переход на другую строку /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void lbUserEnterprise_Click(object sender, EventArgs e) { if (InsertUserGroup.CurrentMode == FormViewMode.Insert) { InsertUserGroup.ModeTable = FormViewMode.ReadOnly; InsertUserGroup.DataBind(); } lvUsers.EditIndex = -1; }