Results 1 to 2 of 2

Thread: Dropdownlist

  1. #1
    Join Date
    Dec 1969

    Default Dropdownlist

    I would like to have a msgbox pop up saying what topic I selected from the dropdownlist. I used:<BR><BR>msgbox ("You have selected " & ddlSCode.SelectedItem.Text)<BR><BR>I get a blank where the Status Code should be!<BR>Thankyou for your time and help...

  2. #2
    Join Date
    Dec 1969

    Default One way

    What you can do is put a literal control on your page and then use a java alert box to show the message.<BR><BR>So in your SelectedItemChanged function do something like<BR><BR>myLiteral.Text = "&#060;javascript:alert(&#039;" &obj.SelectedItem.Text &"&#039;)&#062;"

Posting Permissions

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