/// <summary> /// Binds the grid. /// </summary> private void BindGridData() { SetRegionsGridDataSource(); //RegionsGrid.PagerPosition = GridElementPosition.BottomRight; //RegionsGrid.AllowPaging = true; RegionsGrid.PageSize = 100; RegionsGrid.DataBind(); }
/// <summary> /// Handles the OnNeedRebind event of the RegionsGrid control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="oArgs">The <see cref="System.EventArgs"/> instance containing the event data.</param> public void RegionsGrid_OnNeedRebind(object sender, System.EventArgs oArgs) { RegionsGrid.DataBind(); }