Results 1 to 2 of 2

Thread: simple parent child design options

  1. #1

    Thread Starter
    Fanatic Member staticbob's Avatar
    Join Date
    Jan 2005
    Location
    Manchestershire, UK Cabbage: I do
    Posts
    619

    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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width