Ejemplo n.º 1
0
 protected void btnEditUsergroup_Click(object sender, EventArgs e)
 {
     if (gridUser.Selection.Count <= 0)
     {
         JSHelper.Alert("请至少选择一个用户!", this);
     }
     else
     {
         if (Session["UserIDList"] != null)
         {
             Session.Remove("UserIDList");
         }
         List <object> keyValues = gridUser.GetSelectedFieldValues("USERID");
         Session["UserIDList"] = keyValues;
         JSHelper.ShowModalDialogWindow("EditUserGroup.aspx", 300, 200, 300, 450, this);
     }
 }