|
-
Jan 12th, 2009, 04:53 PM
#1
Thread Starter
Fanatic Member
simple parent child design options
Guys,
I just need some options for a data layout on a page, its been a while since I did anything...
I have an XML file. Its a list of questions, in 12 sections. The number of sections may change, so may the number of questions. I want to build a page to display these, but do it on the fly from the XML. Each section has a Section Title attribute to be displayed. Each question has QuestionText and Link.
Each question needs to display "QuestionText", "Answer(yes/no)" (dropdown), "Category" (ddown), "Comment" and the question text needs to be a hyperlink to the link attribute.
I want to be able to have the page open with all sections collapsed and the users expand each as they complete it.
Sounds simple, but I just want advice on quickest and easiest method to do this.
Advice please!
Bob
"I dislike 7 am. If 7 am were a person, I would punch 7 am in the biscuits." - Paul Ryan, DailyRamblings
-
Jan 12th, 2009, 05:19 PM
#2
Re: simple parent child design options
XmlDocument to load and extract/loop the nodes available for you to display.
Repeater to display the questions.
A bit of simple JavaScript to expand/collapse the sections.
Database to store the answers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|