Click here to Skip to main content
15,914,780 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem with XP os.. Pin
sarang_k12-Jan-09 15:13
sarang_k12-Jan-09 15:13 
AnswerRe: Problem with XP os.. Pin
Reza Raad12-Jan-09 17:29
Reza Raad12-Jan-09 17:29 
AnswerRe: Problem with XP os.. Pin
Abhijit Jana12-Jan-09 17:29
professionalAbhijit Jana12-Jan-09 17:29 
AnswerRe: Problem with XP os.. Pin
Brij12-Jan-09 17:55
mentorBrij12-Jan-09 17:55 
QuestionDebugging Problem in VS 2005 Pin
MikeCuper12-Jan-09 12:15
MikeCuper12-Jan-09 12:15 
AnswerRe: Debugging Problem in VS 2005 Pin
Rajeesh MP12-Jan-09 17:31
Rajeesh MP12-Jan-09 17:31 
GeneralRe: Debugging Problem in VS 2005 Pin
MikeCuper12-Jan-09 17:56
MikeCuper12-Jan-09 17:56 
AnswerRe: Debugging Problem in VS 2005 Pin
Anshumas12-Jan-09 18:54
Anshumas12-Jan-09 18:54 
GeneralRe: Debugging Problem in VS 2005 Pin
MikeCuper12-Jan-09 19:19
MikeCuper12-Jan-09 19:19 
GeneralRe: Debugging Problem in VS 2005 Pin
Rajeesh MP12-Jan-09 23:53
Rajeesh MP12-Jan-09 23:53 
QuestionThe best overloaded method match for 'System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(string, string)' has some invalid arguments Pin
amistry_petlad12-Jan-09 11:54
amistry_petlad12-Jan-09 11:54 
AnswerRe: The best overloaded method match for 'System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(string, string)' has some invalid arguments Pin
pmarfleet12-Jan-09 12:01
pmarfleet12-Jan-09 12:01 
QuestionASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 8:52
SmartSpider12-Jan-09 8:52 
Hello Everyone,

I am a newbie to the world of ASP.NET and I am trying to create a web based questionnaire/test. The user clicks on a link to start the test and the page that presents itself has questions and appropriate input control (text box or checkboxes, etc) for the user to answer. Based on the type of test that user selects, I have to present the form which gets questions from a database and it can be any number of questions.

I do not know a good way to generate all the required text boxes dynamically, because, I have an aspx file, which just has the page skeleton (header and all) but the remaining content has to be set by the cs file for the form. I have found a way of doing this, but am not sure if (I don't think this is) this is the right way - in my cs file, I create the entire html form using StringBuilder and then set the innerHTML of a div in my aspx. I don't even know if this will work whent he user completes the test and submits it (haven't gotten that far yet) - i.e. I do not know if I'd be able to retrieve the values from text boxes, which are named like txtAnsToQues1, txtAnsToQues2, etc.

Any help or a right direction is appreciated.

(I did search the forum first and came up with some dynamic form results, but none answered what I am looking for - perhaps this is too basic?)

Thanks,
~R
AnswerRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet12-Jan-09 9:18
pmarfleet12-Jan-09 9:18 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 9:33
SmartSpider12-Jan-09 9:33 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet12-Jan-09 9:45
pmarfleet12-Jan-09 9:45 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 10:25
SmartSpider12-Jan-09 10:25 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet12-Jan-09 11:35
pmarfleet12-Jan-09 11:35 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider12-Jan-09 17:41
SmartSpider12-Jan-09 17:41 
QuestionRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider20-Jan-09 9:13
SmartSpider20-Jan-09 9:13 
AnswerRe: ASP.NET - Create a questionnaire/test on the fly. Pin
pmarfleet20-Jan-09 11:09
pmarfleet20-Jan-09 11:09 
GeneralRe: ASP.NET - Create a questionnaire/test on the fly. Pin
SmartSpider20-Jan-09 11:44
SmartSpider20-Jan-09 11:44 
QuestionFormsAuthentication Failing in IE6 Pin
Robymon12-Jan-09 6:44
Robymon12-Jan-09 6:44 
Questionsession Expire Pin
mohit_p2212-Jan-09 5:49
mohit_p2212-Jan-09 5:49 
AnswerRe: session Expire Pin
Not Active12-Jan-09 5:53
mentorNot Active12-Jan-09 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.