protected void dropList2_SelectedIndexChange(object sender, EventArgs e) { //Give list of groups to drop down list string i; i = DropDownList2.SelectedValue; int i1 = Convert.ToInt32(i); if (i1 == 0) { CurrentGroupName = "ALL groups"; SetGroupModelsData(i1); Label2.Text = "All files from All groups in which you are a member."; return; } string gname = groupManagement.find_group_name(i1); Label2.Text = "Name of Chosen Group: " + gname; //logFiles.ErrorLog(" drop list reset group models groupid, name " + i + gname); CurrentGroupName = gname; SetGroupModelsData(i1); }
protected void dropSelectGroup_SelectedIndexChange(object sender, EventArgs e) { int groupid = Convert.ToInt32( dropSelectGroup.SelectedValue); string groupname = groupManagement.find_group_name(groupid); CurrentGroupName = groupname; //logFiles.ErrorLog("INTO drop select change " + groupname); curgrpname.Text = groupname; CurrentGroupName = groupname; SetUserGridData(); chosengroupname.Text = " Chosen Group :" + groupname; }