DataGrid Error: Invalid CurrentPageIndex value.
I'm using a hyperlink on a crystal report within Business Objects to lanuch my ASP.NET 1.1 page with a DataGrid.
The datagrid is using the embedded Edit, Update, Cancel and paging options.
Everything goes fine, ie, paging, editing, update, etc., until they get the following error from the DataGrid_UpdateCommand function: "Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount." I'm unable to reproduce the error, and since we log errors into our database and get emailed when things go wrong, so I know people are receiving this error.
I've disabled the browser Back button, and this has reduced the number of times we get the error, but we still get it.
What would be causing the error?
Should I just direct people to page one of the grid when they get error?
Help.
Isa Paine
Software Developer
|