protected void btnSaveClient_Click(object sender, EventArgs e)
 {
     List<IMAvailableStudent> availablelist = (List<IMAvailableStudent>)ViewState["availableStudents"];
     List<IMAvailableStudent> selectedlist = (List<IMAvailableStudent>)ViewState["selectedStudents"];
     IMAssignment obj = new IMAssignment();
     obj.SaveStudentForIM(SessionObject.LoggedInUser.Page, _imNodeList[0].NodeId, GetStudentAssignmentandDueDate(selectedlist));
     ViewState["isSaved"] = true;            
     ViewState["selectedStudents"] = null;
     ViewState["availableStudents"] = null;
     RefreshDataBindingForGroupingGrids();
     isCompleted.Value = "";
     ScriptManager.RegisterStartupScript(this, typeof(string), "assignmentSaved", "confirmCallbackCloseClient(); ", true);              
     isCompleted.Value = "";
 }