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
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.