I am getting the error "Invalid CurrentPageIndex value. It must be >=
0 and < the PageCount..." within a datagrid. I have paging and sorting
enabled. I have sorta put in a hack which is:
TRY
myDataGrid.DataBind()
CATCH ex AS Exception
myDataGrid.currentpageindex = 0
END TRY
Which seems to work but is there a "more" correct way to resolve this problem?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/