Hi,
When I click on the page numbers at the buttom of the gridview, does it trigger the PageIndexChanged event on its own?
What I found to thsi point is that, I have to capture the RowCommand event, and set PageIndex myself, in order to trigger the PageIndexChanged event. It makes me feel that I missed something. This doesn't make any sense.
Code:
switch (e.CommandName) {
...
case "Page":
GridView1.PageIndex = Int32.Parse((string)(e.CommandArgument)) - 1;
break;