protected void BackupsGridView_Select(object sender, Bitrix.UI.BXSelectEventArgs e) { int startRowIndex = 0; int maximumRows = 0; if (e.PagingOptions != null) { startRowIndex = e.PagingOptions.startRowIndex; maximumRows = e.PagingOptions.maximumRows; } e.Data = new DataView(dataSource, "ID>=" + startRowIndex, "", DataViewRowState.CurrentRows); }
protected void AgentGridView_Select(object sender, Bitrix.UI.BXSelectEventArgs e) { int startRowIndex = 0; int maximumRows = 0; if (e.PagingOptions != null) { startRowIndex = e.PagingOptions.startRowIndex; maximumRows = e.PagingOptions.maximumRows; } e.Data = GetBackupAgents(e); }