AlHal2
asked on
Using dropdown and listboxes to enable user selection
Please see the attached file.
The program should allow users to select one or more options from the dropdown boxes. The selected option gets put into the listbox. When the user presses apply filter the items in the list box get sent to the stored procedure.
To make it work I use textboxes and hidden fields with javascript.
I want to make the textboxes eg txtfilenamecode invisible or at least disabled. However this causes the program to fail.
Any suggestions?
FileCollection.txt
The program should allow users to select one or more options from the dropdown boxes. The selected option gets put into the listbox. When the user presses apply filter the items in the list box get sent to the stored procedure.
To make it work I use textboxes and hidden fields with javascript.
I want to make the textboxes eg txtfilenamecode invisible or at least disabled. However this causes the program to fail.
Any suggestions?
FileCollection.txt
ASKER
How would you use a checkboxlist if a dropdownbox could have hundreds of items? I found it clogged up the web page, so was seeking an alternative.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks.
You can make textboxes invisible the using CSS which will not affect postback that you comment about in the attachment. To do this, add either a CssClass with a "display: none;" or add directly to your control a style property.