Last post Aug 29, 2008 02:09 PM by jayd_21
Aug 28, 2008 02:46 PM|jayd_21|LINK
I used the Quiz video tutorial located on asp.net site and I have a problem with the max number of questions allowed in the results page. You can add as many questions as you want but at the end of the quiz the Results page gives an error if you go above
10 questions, I've set the PageSize to 20. Anyone have any idea why there is a limit of 10? Thanks Jay
Aug 28, 2008 04:52 PM|azamsharp|LINK
You need to clarify your question!
Aug 29, 2008 04:30 AM|jayd_21|LINK
I have a GridView that will not display more than 10 rows.
Aug 29, 2008 04:48 AM|vinz|LINK
but at the end of the quiz the Results page gives an error if you go above 10 questions,
What does that mean? What is the error message you get? Elaborate more so that we can help you out..
Aug 29, 2008 05:19 AM|kyuti|LINK
Have you handled paging events? What is the error that you are getting?
Aug 29, 2008 06:02 AM|mohanbrij|LINK
There can be number of reason why your Grid is limiting to maximum of 10 rown,
Please check in code behind you have overidden this settings.
Check if you are using paging, then what is the page size you are setting.
Also, what is the error message you are getting?
Aug 29, 2008 02:09 PM|jayd_21|LINK
Paging is True and it's set to 20. There is no displayed error, it goes to the Default.aspx instead of the results.aspx page. In the
catch (Exception ex) I've named the page Defaul.aspx (does not exist) just to see where in the code is being
directed to the Default.aspx page. The user's results are not being saved to the DB but there is no error as in "errorLabel.Text =".
I did not create the code just trying to understand it.
resultGrid.DataSource = al;
Page.Theme = Profile.Theme;