private void RenderReport(PerformSearchMessage message) { log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); try { RenderReport(); } catch (Exception ex) { page.DisplayErrorAlert(ex); log.Error(ex); } }
private void FillGrid(PerformSearchMessage message) { log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); try { Grid.MasterTableView.CurrentPageIndex = 0; FillGrid(); Grid.DataBind(); this.Visible = true; } catch (Exception ex) { page.DisplayErrorAlert(ex); log.Error(ex); } }
public void ExecuteCommand() { log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); try { PerformSearchMessage search = new PerformSearchMessage(); Page.MessageBus.Publish(search); } catch (Exception ex) { Page.DisplayErrorAlert(ex); log.Error(ex); } }