protected void ConfirmUserDelete(GridViewRow row) { string delName = get_row_name(row); string groupname = CurrentGroupName; lblConfirmDelete.Text = "Are you sure you want to remove permanently user '" + delName + "' from group " + groupname; hdnUserId.Value = delName; // saving name to be deleted. int groupid = groupManagement.find_group_id(groupname); int ret = groupManagement.delete_user_from_group(groupid, username, delName); // groupid, username is name of user DOING - MUST HAVE LEADER STATUS - CHECKED IN CODE if (ret == 0) { ShowErrorMessage("User not removed from group. Current client (i.e. you) may not have Leader status..."); } SetUserGridData(); return; // lucie greg no confirm ?? // modalExtenderConfirmDelete.Show(); // SetFocus(btnCancelDeleteUser.ClientID); }