Stephen,
The DataGridPageChangedEventArgs class is part of the .NET Framework. Since mmDataGrid inherits from DataGrid, you will get all the paging functionality.
I would change the DataBind() line to the following instead:
MmDataGrid1.OnBindData(this.PrimaryBizObj);
>I have this in my datagrid to do paging:
>
>private void MmDataGrid1_PageIndexChangedEventArgs(object sender, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)
>{
>MmDataGrid1.CurrentPageIndex = e.NewPageIndex;
>MmDataGrid1.DataBind();
>}
>
>I can't find in OakLeaf.MM.Main.Web.UI.WebControls. the DataGridPageChangedEventArgs.
>
>Any work arounds?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi