954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Dropdownlist text property not working

I have a dropdownlistbox in a webform. When the page loads, it displays the initial text, that is ok. When selection is made, it works ok. But when i tried using the text property ie msgbox(cbomodel.text), what shows in the previous text. The newly selected item is never recognized.
Is there a way to bind the text to the listbox after a selection is made?

Kindson
Newbie Poster
2 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Try this:
msgbox(cbomodel.GetItemText(cbomodel.SelectedItem))

Oxiegen
Master Poster
715 posts since Jun 2006
Reputation Points: 87
Solved Threads: 141
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: