TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bhavana_21
NA
2
0
Questionaire project
Oct 24 2003 4:02 PM
I have a questionaire page , which basically has questions with multiple choice answers. I need to accomplish paging on this and there are few questions that are gender specific. According the person who has logged in, if the person is male, i need to generate only those questions specific to males . I have a function that returns the contents of the questionaire in the form of a datatable. I have successfully displayed all the questions . Next part of my work is to get all the user input and dump into a table. Now the datatable in part loads just the questions and I'm calling a function in my UI page that in turn calls a function in my class to load all the multiple choice answers. So, basically the questions and multiple choice answers are being displayed from two different functions. Since the multiple choice answers need to be loaded dynamically, I have used string concatenation for the radio buttons and checkboxs. I am using asp server controls like
in the string concatenation. The function returns the values for the controls , but not the radio buttons. Is it that I cannot return the controls in the form of a string and write the string in my UI page? My code on the whole looks very messy. I am new to .Net and I need to get the work done asap. I need to get the form validation done and insert the user input into a table. I do not want to use asp form validation controls, as I need to alert the user using message boxes. I would like to do this using vbscript or javascript. Could someone give suggestions on how to accomplish the task in a better way and explain why I am not able to write asp server controls on to the page when they are returned as a string.
Reply
Answers (
1
)
asp server controls in the form of string
.NET security in VB web service