protected void AvailableYears_YearChanged(object sender, EventArgs e) { IbaMasterPage.ExceptionHandler((IbaMasterPage)Master, () => { this.State.SpeciesResultsTable = ResultsFacade.SiteBySpeciesPivotTable(speciesId, _chartValues, int.Parse(this.State.SelectedYear)); bindSpecies(); getMapDataAndBind(); }); }
protected void Page_Load(object sender, EventArgs e) { addHandlers(); GetSpeciesID(); if (!Page.IsPostBack) { this.State.SpeciesResultsTable = ResultsFacade.SiteBySpeciesPivotTable(speciesId, _chartValues, int.Parse(this.State.SelectedYear)); bindSpecies(); getMapDataAndBind(); } bindSiteTable(); }