public void UpdateView() { _filter.OwnCountry = CountryFilter.SelectedValue; checkPageData(); _filter.ReservationEndDate = DateTime.Parse(EndDateFilter.Text); _filter.ReservationStartDate = DateTime.Parse(StartDateFilterModel.Text); DataTableModel.Filter = _filter; DataTableModel.bind(); ChartModel.bind(); }
public void Initialise(System.Web.UI.Page p) { _page = p; if (p.IsPostBack) { checkPostBack(); return; } NonRevDaysModel.FirstItem = ""; NonRevDaysModel.bind(); OwnCountryModel.bind(); DataTableModel.bind(); }
public void UpdateView() { DataTableModel.Filter.OwnCountry = OwnCountryModel.SelectedValue; DataTableModel.Filter.nonRev = Convert.ToInt32(NonRevDaysModel.SelectedValue); DataTableModel.bind(); }