Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Get the selected item from a listbox

Reply
Thread Tools

Get the selected item from a listbox

 
 
Craig Buchanan
Guest
Posts: n/a
 
      06-26-2003
I'm having a hell of a time trying to determine which item is selected in a
single-select listbox when the listbox autoposts. for some reason, the
..SelectedIndex is always -1 and the .SelectedItem is Nothing. What am I
missing?

Thanks,

Craig Buchanan


 
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
need help to fill textboxes from a selected item in datagrid-selected index changed. mldardy ASP .Net 0 09-28-2010 02:59 PM
Listbox move multiple selected items to second listbox K B ASP .Net 2 01-08-2007 11:16 AM
DropDownList 2 always returns Selected = 0 for all items - even selected item Iain ASP .Net 3 12-11-2006 11:07 AM
Unable to get the selected item value of Listbox in codebehind akula.sandeepkumar ASP .Net 0 11-02-2006 01:04 PM
selected item and dropdown list/listbox rohith ASP .Net 3 08-29-2003 04:32 PM



Advertisments