private void SaveSearchSettings()
 {
     try
     {
         if (txtSearchResultPageName.Text.Trim() != string.Empty && txtSearchResultPerPage.Text.Trim() != string.Empty && txtMaxSearchChracterAllowedWithSpace.Text.Trim() != string.Empty)
         {
             SageFrameSearchSettingInfo objSearchSettingInfo = new SageFrameSearchSettingInfo();
             objSearchSettingInfo.SearchButtonType = Int32.Parse(rdblSearchButtonType.SelectedValue);
             objSearchSettingInfo.SearchButtonText = txtSearchButtonText.Text;
             objSearchSettingInfo.SearchButtonImage = txtSearchButtonImage.Text.Trim();
             objSearchSettingInfo.SearchResultPageName = txtSearchResultPageName.Text.Trim();
             objSearchSettingInfo.SearchResultPerPage = Int32.Parse(txtSearchResultPerPage.Text.Trim());
             objSearchSettingInfo.MaxSearchChracterAllowedWithSpace = Int32.Parse(txtMaxSearchChracterAllowedWithSpace.Text.Trim());
             objSearchSettingInfo.MaxResultChracterAllowedWithSpace = Int32.Parse(txtMaxResultCharacter.Text.Trim());
             SageFrameSearch con = new SageFrameSearch();
             con.AddUpdateSageFrameSearchSetting(objSearchSettingInfo, GetPortalID, GetCurrentCultureName, GetUsername);
             ShowMessage("", GetSageMessage("SageFrameSearch", "SearchSettingSavedSuccessfully"), "", SageMessageType.Success);
         }
         else
         {
             ShowMessage("", GetSageMessage("SageFrameSearch", "BlankValueNotAllowed"), "", SageMessageType.Alert);
         }
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }