private void MoveAction(string sType) { GroupDAL oGpDAL = new GroupDAL(); Result oResult = oGpDAL.LoadMoveData(txtGroupName.Text, sType); ClearTextValue(); if (oResult.Status) { Group oGp = (Group)oResult.Return; if (oGp != null) { SetObject(oGp); hdGpID.Value = oGp.GroupID.ToString(); } else { ucMessage.OpenMessage("Group Name does not exist", Constants.MSG_TYPE_INFO); ScriptManager.RegisterStartupScript(this.UpdatePanel2, typeof(string), Constants.POPUP_WINDOW, Util.OpenPopup("Info"), true); } } else { ucMessage.OpenMessage("Group Name does not exist", Constants.MSG_TYPE_INFO); ScriptManager.RegisterStartupScript(this.UpdatePanel2, typeof(string), Constants.POPUP_WINDOW, Util.OpenPopup("Info"), true); } }