dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Help with finishing dynamic radio button list

  1. #1
    Join Date
    Jan 2004
    Posts
    9

    Help with finishing dynamic radio button list

    I am working on a project where the user has 8 radio buttons to choose from, and when one is selected and the submit button is pressed, the header.jpg and radiobuttonlist on the left stay the same, but a picture (of the selected item)appears to the right. I have 8 webforms, and all of the coding will be identical for the pages, so I just need help with the submit button code.

    Here is my Page_Load code:

    If Not IsPostBack Then
    Dim arrChoices As New ArrayList(9)
    arrChoices.Add("Gifts")
    arrChoices.Add("Jewelry")
    arrChoices.Add("Clothing")
    arrChoices.Add("Food")
    arrChoices.Add("Books, Music & Video")
    arrChoices.Add("Bridal")
    arrChoices.Add("Crystal & China")
    arrChoices.Add("Pottery")
    rblChoices.DataSource = arrChoices
    rblChoices.DataBind()
    End If

    Any help would be greatly appreaciated. I'm just having trouble setting up the if statement of how to show the aspx page that corresponds with what was chosen. Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    9
    Attached is a picture of what the start page form looks like.
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles