Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > VS 2005 Dual Listbox Control - Newbie HELP!!!

Reply
Thread Tools

VS 2005 Dual Listbox Control - Newbie HELP!!!

 
 
Tom
Guest
Posts: n/a
 
      11-02-2009
Hello all,

I'm attempting to build a web for selection of a main set and a subset and
running into challenges. I gotta be doing something slightly stupid

I have an initial listbox that is statically populated at execution.
Selecting any of the items in listbox1 populates listbox2 from a database
through listbox1.selectedIndexChanged. autoPostBack is True. Everything runs
fine. As I select different values in listbox1, listbox2 refreshes and a
label is updated with the count of items in listbox2 for testing purposes

When I attempt to select anything in listbox2 and utilize
..selectedIndexChanged with listbox2.autopostback = true I get a null
exception. debugging shows that listbox2.items.count to be the same value as
when the form loaded rather than the values that were refreshed with changes
to the value in listbox1. Looking at listbox.items.value(n) shows the
initial data values as well.

Thanks for any help/direction that can be supplied.

Tom


 
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
Can not have more than 1 column in VS 2005 Web Control:ListBox Ilya ASP .Net Web Controls 1 11-06-2009 11:16 AM
NetGear SPH200D dual Dual-mode, Cordless Phone vs Dualphone 3088 dual mode cordless phone Paul NZ Computing 0 05-08-2007 09:06 AM
click listbox and refresh another listbox DC Gringo ASP .Net 0 04-06-2004 02:13 AM
Facing problems with Dual listbox Custom Server Control Avneesh Kumar ASP .Net Building Controls 1 10-01-2003 03:29 PM
Re: now desparate! - 1st listbox contents disappears when 2nd listbox appears? blenderdude ASP .Net 0 08-03-2003 10:18 PM



Advertisments