Exemple #1
0
 public void Initialise(System.Web.UI.Page p)
 {
     _page = p;
     if (p.IsPostBack)
     {
         return;
     }
     if (_page.Session["IFleetOverviewController"] != null)
     {
         repopulateFilters();
     }
     else
     {
         ThreeCascadeModel.bind();
         OwnCountryModel.bind();
         CarSegmentModel.clear();
         CarClassModel.clear();
         CarGroupModel.clear();
         VehiclePredicamentModel.bind();
         VehiclePredicamentModel.SelectedIndex = 3;
         if (_page.Session["IForeignNonRevenueController"] != null)
         {
             fromNonRev();
         }
     }
     OperstatModel.bind();
     MoveTypeModel.bind();
     NonRevDaysModel.FirstItem = "";
     NonRevDaysModel.bind();
     PagerMaxModel.bind();
     UpdateView();
 }
Exemple #2
0
 public void CarClassSelected()
 {
     if (CarClassModel.SelectedIndex <= 0)
     {
         CarGroupModel.clear();
     }
     else
     {
         CarGroupModel.bind(OwnCountryModel.SelectedValue, CarSegmentModel.SelectedValue, CarClassModel.SelectedValue);
     }
     UpdateView();
 }
Exemple #3
0
 public void Initialise(System.Web.UI.Page p)
 {
     _page = p;
     if (p.IsPostBack)
     {
         checkPostback(); return;
     }
     ThreeCascadeModel.bind();
     OwnCountryModel.bind();
     CarSegmentModel.clear();
     CarClassModel.clear();
     CarGroupModel.clear();
     VehiclePredicamentModel.bind();
     VehiclePredicamentModel.SelectedIndex = 3;
     UpdateView();
 }