Hi,
I have a gridview (using VS 2005) whose PageMode is "Numeric", PageButtonsCount is set to 10 and the PageSize (NumberOfRecordsPerPage) is 2. I'm planning to navigate to page # 25 programatically by setting grd.PageIndex = 25;. Even though the data populated in the grid correctly corresponds to the data that is supposed to be in the page # 25, the page numbers displayed in the Pager are 1 to 10... with page #6 selected which is wierd. How can I have the pager to display 21 to 30 and have page #25 selected? Thanks in advance.
Jai
I have a gridview (using VS 2005) whose PageMode is "Numeric", PageButtonsCount is set to 10 and the PageSize (NumberOfRecordsPerPage) is 2. I'm planning to navigate to page # 25 programatically by setting grd.PageIndex = 25;. Even though the data populated in the grid correctly corresponds to the data that is supposed to be in the page # 25, the page numbers displayed in the Pager are 1 to 10... with page #6 selected which is wierd. How can I have the pager to display 21 to 30 and have page #25 selected? Thanks in advance.
Jai