protected virtual void RaisePerformSearching(ASPxPerformSearchingEventArgs e)
 {
     var eventHandler = (ASPxPerformSearchingEventHandler) Events[performSearching];
     
     if (eventHandler != null)
     {
         eventHandler(this, e);
     }
 }
        public void PerformSearch()
        {
            var eventArgs = new ASPxPerformSearchingEventArgs();

            RaisePerformSearching(eventArgs);

            if(eventArgs.Cancel) return;

            FilterExpression = eventArgs.CalculateFilterExpression();
            DataBind();

            SearchDetails = eventArgs.CalculateSearchDetails().IfEmpty(SettingsText.SearchResultsEmptyDetails);
            SearchPerformed = true;
        }