Getting the textfield of a dropdownlist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashlewis
    New Member
    • Mar 2008
    • 20

    Getting the textfield of a dropdownlist

    Ok i have a dropdown list that stored a text field of a username and then the value is a user ID

    I need to be able to access the currently selected text field but the only thing i can seem to do is the selectedValue which is actually the userID

    how do I get what the selected TextField is so it reutns somthing like "Bob" when Bob is selected.

    Thanks, any suggestions welcome
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Try SelectedItem.Te xt

    Nathan

    Comment

    • Ashlewis
      New Member
      • Mar 2008
      • 20

      #3
      Thank you, works a treat.

      Comment

      • kunal pawar
        Contributor
        • Oct 2007
        • 297

        #4
        U can used
        dropdown.select edItem.text to get Text field and
        dropdown.select edItem.value to get value field

        Comment

        Working...