I have a gridview that I am using in a quiz engine (VB). A have a item templete field that has 5 radio buttons. For the purpose of paging from one set of questions to the other, I have a PagerTemplete (method is previous/next). Inside the template, I have a button called submit with a command arg = next. When a user completes the page of questions and clicks the submit button, I have a sub in my code behind that is triggered on an IndexChange event which is were the result from the gridview are collected and record. My problem is when I get to the last page of questions. Once I record the last page results, I need to able to know that there are not more pages and redirect to a new aspx page or present 'thank you for taking the quiz' notice.
I have been stuck on this for a few days now and have read several tutorials on pager but none that escape the grid.
I have images of the two grids at and The first image is the first page of data and the second image is the last page which is usually the 6,7, or 8 page but it can vary between quizes.
thanks
Bob B.
I have been stuck on this for a few days now and have read several tutorials on pager but none that escape the grid.
I have images of the two grids at and The first image is the first page of data and the second image is the last page which is usually the 6,7, or 8 page but it can vary between quizes.
thanks
Bob B.