protected void ibSavePermission_Click(object sender, ImageClickEventArgs e)
 {
     try
     {
         Int32 userModuleID = Int32.Parse(hdnUserModuleID.Value);
         if (userModuleID > 0)
         {
             string selectedRolesView = GetListBoxText(lstSelectedRolesViewModule);
             string selectedRolesEdit = GetListBoxText(lstSelectedRolesEditModule);
             string EditUsers = GetModuleEditUsers();
             string ViewUsers = GetModuleViewUsers();
             UserModulesDataContext dbUserModule = new UserModulesDataContext(SystemSetting.SageFrameConnectionString);
             dbUserModule.sp_UserModulePermissionSave(userModuleID, selectedRolesView, selectedRolesEdit, ViewUsers, EditUsers, GetPortalID, GetUsername);
         }
         PageModulePanelVisibility(true, false, false);
         ShowMessage(SageMessageTitle.Notification.ToString(), GetSageMessage("PAGES", "ModulePermissionSaveSuccessfully"), "", SageMessageType.Success);
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }