G
Guest
Hello -
Sorry to have posted this twice, but my question wasn't being answered and I
think it might be because my subject wasn't clear.
I have a datagrid and a dropdownlist (which is outside the datagrid). When
I click on a category in the dropdownlist, the datagrid changes to correspond
to that category. The datagrid is paged.
Everything works fine, as long as the pager is on the first page. When the
pager is not on the first page, I receive the following error: "Invalid
currentPageIndex value. It must be >= 0 and < PageCount."
What do I have to put in my code to "set" the pager to the value it has on
the first page? What is the way this is normally handled?
Any help will be greatly appreciated!
Sorry to have posted this twice, but my question wasn't being answered and I
think it might be because my subject wasn't clear.
I have a datagrid and a dropdownlist (which is outside the datagrid). When
I click on a category in the dropdownlist, the datagrid changes to correspond
to that category. The datagrid is paged.
Everything works fine, as long as the pager is on the first page. When the
pager is not on the first page, I receive the following error: "Invalid
currentPageIndex value. It must be >= 0 and < PageCount."
What do I have to put in my code to "set" the pager to the value it has on
the first page? What is the way this is normally handled?
Any help will be greatly appreciated!