Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DropDownList.Selected value becomes empty when running SelectIndex Changed

Reply
Thread Tools

DropDownList.Selected value becomes empty when running SelectIndex Changed

 
 
Guido Steijaert
Guest
Posts: n/a
 
      07-25-2004
When I select a value in the dropdownlist a label needs to give this value.
After selecting "Label10.text" = empty and also the value displayed in de
dropdownlist is empty. Enclosed the code from te SelectedIndexChanged.

Regards,

Guido Steijaert

Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
DropDownList1.SelectedIndexChanged

Label10.Text = DropDownList1.SelectedValue

End sub




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
and becomes or and or becomes and Stef Mientki Python 9 05-28-2011 02:04 PM
Reversing Bit Order.. i.e. MSB becomes bit 0, LSB becomes bit 15 benn686@hotmail.com C++ 9 08-22-2007 12:13 AM
accessing selectIndex property barry ASP .Net 2 02-02-2007 02:39 AM
RAM - 2gb becomes 4gb becomes 2gb b Computer Support 10 04-27-2006 11:58 PM
selectindex always = 1 from datacombo chris@oaksong.com ASP .Net 1 10-31-2005 07:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57