Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         GXGridView1.TotalRecords = ViewFacture.SelectByFKCountCached("UserID", this.PageUser.ID);
         mvMain.SetActiveView(viewGrid);
         reportControl.BranchName  = BrokerHouseInformation.GetBrokerHouseNameByCode(BrokerHouseInformation.FIRST_ROW);
         reportControl.CompanyName = "Брокерско друштво";
     }
 }
Beispiel #2
0
 protected void DetailsView1_ItemUpdated(object sender, DetailsViewUpdatedEventArgs e)
 {
     if (e.Exception != null)
     {
         e.ExceptionHandled = true;
         e.KeepInEditMode   = true;
         ValidationUtility.ShowValidationErrors(this, e.Exception);
     }
     else
     {
         GXGridView1.TotalRecords = ViewFacture.SelectCountCached();
         GXGridView1.DataBind();
         mvMain.SetActiveView(viewGrid);
     }
 }
Beispiel #3
0
 protected void SearchControl1_Search(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewFacture.SelectSearchByFKCountCached("UserID", this.PageUser.ID, SearchControl1.SearchArguments);
     mvMain.SetActiveView(viewGrid);
 }
Beispiel #4
0
 protected void FilterControl1_Filter(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewFacture.SelectFilterByFKCountCached("UserID", this.PageUser.ID, FilterControl1.FCFilterArgument);
 }
Beispiel #5
0
 protected void DetailsView1_ItemDeleted(object sender, DetailsViewDeletedEventArgs e)
 {
     GXGridView1.TotalRecords = ViewFacture.SelectCountCached();
     GXGridView1.DataBind();
     mvMain.SetActiveView(viewGrid);
 }
Beispiel #6
0
 protected void FilterControl1_Filter(object sender, EventArgs e)
 {
     GXGridView1.TotalRecords = ViewFacture.SelectFilterCountCached(FilterControl1.FCFilterArgument);
 }