Dynamic Drop down list

Results 1 to 2 of 2

Thread: Dynamic Drop down list

  1. #1
    Join Date
    Dec 1969

    Default Dynamic Drop down list

    Hi <BR>I have a set of drop down lists in a search page.Once the user selects some options from the drop down lists and clicks on search, the user will be taken to the search results page where,i want to get the user selected values from the drop down lists and make them selected.Can anybody help me in this regard.

  2. #2
    Join Date
    Dec 1969

    Default RE: Dynamic Drop down list

    If you know how to get the values onto the secondpage then all you need to do it search through the list and set the currentItem to selected so something like this:<BR><BR>Dim lsiCurrent as new ListItem<BR><BR>for each lsiCurrent in myListBox<BR> if lsiCurrent.Value = myPostedValue then<BR> lsiCurrent.Selected = true<BR> end if<BR>next

Posting Permissions

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