/// <summary> /// Handles the PageChanged event of the BottomPagingPosition control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="GRP.Web.Controls.IndexChangedEventArgs"/> instance containing the event data.</param> protected void PagingPosition_PageChanged(object sender, IndexChangedEventArgs e) { this.CurrentPageIndex = e.Index - 1; this._Presenter.LoadReports(); }
/// <summary> /// Raises the <see cref="E:PageChanged"/> event. /// </summary> /// <param name="e">The <see cref="GRP.Web.Controls.IndexChangedEventArgs"/> instance containing the event data.</param> protected void OnPageChanged(IndexChangedEventArgs e) { if (this.PageChanged != null) { this.PageChanged(this, e); } }
/// <summary> /// Handles the PageChanged event of the BottomPagingPosition control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="GRP.Web.Controls.IndexChangedEventArgs"/> instance containing the event data.</param> protected void PagingPosition_PageChanged(object sender, IndexChangedEventArgs e) { this.CurrentPageIndex = e.Index - 1; int.TryParse(this.ReportTypeDropDownList.SelectedItem.Value, out this._SelectedReportTypeId); this._ReportNameFilter = this.ReportNameTextBox.Text; this._Presenter.LoadReports(); }