protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GXGridView1.TotalRecords = ViewDistributionDocument.SelectCountCached();
         mvMain.SetActiveView(viewGrid);
         reportControl.BranchName  = BrokerHouseInformation.GetBrokerHouseNameByCode(BrokerHouseInformation.FIRST_ROW);
         reportControl.CompanyName = "Брокерско друштво";
     }
 }
 protected void SearchControl1_Search(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewDistributionDocument.SelectSearchCountCached(SearchControl1.SearchArguments);
     mvMain.SetActiveView(viewGrid);
 }
 protected void FilterControl1_Filter(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewDistributionDocument.SelectFilterCountCached(FilterControl1.FCFilterArgument);
 }
示例#4
0
 protected void FilterControl1_Filter(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewDistributionDocument.SelectFilterByFKCountCached("BranchID", this.PageUser.BranchID, FilterControl1.FCFilterArgument);
 }