protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { GXGridView1.TotalRecords = ViewDistributionDocument.SelectByFKCountCached("BranchID", this.PageUser.BranchID); mvMain.SetActiveView(viewGrid); reportControl.BranchName = BrokerHouseInformation.GetBrokerHouseNameByCode(BrokerHouseInformation.FIRST_ROW); reportControl.CompanyName = "Брокерско друштво"; } }