How to show each question on different page

Jun 6, 2011 at 4:12 PM

I need to show whatever the questions are added to the survey, each on different page,i.e. one question at a time on a page with a next button. When next button clicks, it should move to different question.

I am new to MVC. I dont know, where to edit, since there is no codebehind file, and I couldnt find event handler on double click on submit button.

Any help, will be appreciated.


Jun 6, 2011 at 7:35 PM

well :), learn mvc

Jun 6, 2011 at 8:30 PM

ya, I need to learn mvc, and I am. But I need to do it quickly. Its been bit complex for me. Should I have to add a panel or what. I just want to seperate the questions, to show one at a time with next button. Please help me.

Jun 6, 2011 at 8:55 PM

there are many ways you could do this, and they are all very simple and easy to do if know mvc basics

1st thing that comes to my mind is to have an action(questionId) which will give this view with one question and you will have an link that will call this same action but with the next questionid