![]() |
| |||||||
| Sponsored Links |
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| Hey guys its peeb, i'm practicing on the questionaire app that i'll probably begin officially working on this next week. I'll have a month to build it. I've never done a questionaire app. Below is a link to a sample questionaire online written in classic asp. I"m going to kind of mirror this online survery to build the .net survey app. LINK:Hosted Survey Now when you begin the questionaire, it gives you question and you hit next to go to the next page of questions. My question is how is it going to the next page when you hit next, but still be on the same takesurvey.asp page? I'm like they have to have created several pages that have the different questions on it, but it must doing something i'm not aware of. Also they have "finish later" button, obviously this button will save your work, in my case save it in sql. And then later you can continue and it shows the page that you were last on. This functionality I don't understand. I know how to retreive data from sql, but how can I retreive the page that the user was last on when they saved their work? Any help would very much be appreciated, thanks. Last edited by richyrich; May 6th, 2008 at 11:21 AM. Reason: Removed [SOLVED] from title |
| Sponsored Links |
|
#2
| ||||
| ||||
| They may be storing the page information in a cookie or session variable and then querying the database for questions that belong to that page. Or, if the questions are entered statically into the page code, they are probably using SELECT CASE statements to display the appropriate set of questions based off of the cookie or session value. In .Net, you have a Wizard Control which allows for this type of appearance. You can display one form, click next, and then a new form will be displayed. Do some research on the wizard control and that should help you design your questionaire. Wizard Class (System.Web.UI.WebControls)
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.Join our Folding team: DeveloperBarn Folding |
|
#3
| |||
| |||
| Hey thanks jmurrayhead, I was going to use the wizard control, but I saw that link and the classic asp survey and i'm like how are they doing that. Okay i'll use the wizard control. thanks again. Quote:
|
|
#4
| ||||
| ||||
| Indeed, the Wizard Control will easily give you the effect you are after. Glad I could help ![]() *Administrative Note* This thread will now be closed and marked as solved. The original poster may mark this thread as unsolved and reopen it if he/she has further questions on this topic. To mark your thread as 'Unsolved', use the 'Thread Tools' menu at the top of the posting. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|