Hi,
Does anyone know how (if you can) make a DropDownList allow multiple
selections? Failing that, of any FREE controls that allow that functionality?
Cheers
Dan 2 5486
Dan,
ASP.NET ddl doesn't allow this. I am a bit confused about the very idea of a
ddl with multiple select. How should it behave? In ddl you can see only one
item. How would you get an idea if any other items are selected or no? May
be you need a listbox? Or selecting items from ddl one by one and showing
the selecting items in a different place?
Eliyahu
"dhnriversi de" <da*@musoswire. com> wrote in message
news:41******** *************** ***********@mic rosoft.com... Hi,
Does anyone know how (if you can) make a DropDownList allow multiple selections? Failing that, of any FREE controls that allow that
functionality? Cheers
Dan
HI Eliyahu,
Yeah, I understand your puzzlement! I have seen it done before though, it
was like a drop down list, so u click it and the lsit stays up, and u could
click multiples and close the drop down. Each item had a tick next to it.
If its not easy, I'll have to make room for using a ListBox, but I didn't
really wanna do that! Just thought I'd ask around first..... :o)
Cheers
Dan
"Eliyahu Goldin" wrote: Dan,
ASP.NET ddl doesn't allow this. I am a bit confused about the very idea of a ddl with multiple select. How should it behave? In ddl you can see only one item. How would you get an idea if any other items are selected or no? May be you need a listbox? Or selecting items from ddl one by one and showing the selecting items in a different place?
Eliyahu
"dhnriversi de" <da*@musoswire. com> wrote in message news:41******** *************** ***********@mic rosoft.com... Hi,
Does anyone know how (if you can) make a DropDownList allow multiple selections? Failing that, of any FREE controls that allow that functionality? Cheers
Dan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DC Gringo |
last post by:
I'm having such a problem with this DropDownList in a user control that is
posting back and throwing an error: System.Web.HttpException: A
DropDownList cannot have multiple items selected
<ASP:DROPDOWNLIST ID="lbCountriesWiz" ENABLEVIEWSTATE="true" FONT-SIZE="8pt"
ONSELECTEDINDEXCHANGED="ddlQueryProvinces"
AUTOPOSTBACK="True" RUNAT="server" WIDTH="150px"></ASP:DROPDOWNLIST>
Private Sub Page_Load(ByVal sender As System.Object, ByVal...
|
by: Therese A. Sorna |
last post by:
Hello all...
I am using Access 2002, and am trying to find a way for a user to be
able to select multiple entries from a drop-down list. I am hoping
that given a list as such:
a
b
c
d
|
by: Aaron Prohaska |
last post by:
I'm having the problem with this drop down list on postback. For some
reason both the ListItems get selected when I change the selected item.
Using the code below I'm building the drop down list in the overriden
CreateChildControls method and setting the selected item. Then when I
change the item in the drop down list the list is rebuilt from
viewstate, but the initial item is still selected causing the error
below.
I also have a number...
|
by: David Austin via .NET 247 |
last post by:
Hello, I hope this is where I should post this.
I have a problem with this code that I can't figure out...seems to be a bug in the dropdownlist control.
I am trying to set multiple dropdownlists to match retrieved data. When I set the first, everything is fine. Then I set the second and the first gets set to the second index. Can you see anything wrong with this code? Thanks
If DR.HasRows Then
Do While DR.Read()
Dim name As String =...
|
by: Lie |
last post by:
Hi all,
I have problem in getting selectedindex of multiple listbox selection in a
datagrid. I have a listbox with multiple selection mode inside datagrid. In
Edit mode, I need to get back all selected items of that listbox and display
it.
can anyone help?
Thanks
| |
by: js |
last post by:
I am using the Microsoft.Practices.EnterpriseLibrary and trying to bind
all the DropDownList controls on a page by calling the following
function at Page_Load event. My attempt is make only one trip to the
SQL Server and populate all the result sets in a Datasset object then
bind each DropDownList to the repective table. How can I achieve this?
As you can see, I execute SQL statement multiple times in the sample.
private void...
|
by: ads |
last post by:
hi,
after binding the dropdownlist to a datasource, ive experience this error
"Cannot have multiple items selected in a dropdownlist" after using the code:
dropdownlist.items.findbyvalue("value").selected = true
I didnt specify any selected item in the dropdownlist during binding to the
datasource. I use dropdownlist.clearselection() but still error occurs.
I need information on this. Thanks.
Ads
|
by: Ed Dror |
last post by:
Hi there
ASP.NET 2.0 VB & SQL Express
Lest take Northwind Categories Products as example
I create a table that hold these two together
and I create a stored procedure like
select ProductID, ProductName, CategoryID, from tblCategoryProducts
Where (CategoryID = @CategoryID)
|
by: sharonrao123 |
last post by:
hello all,
I have a parent gridview company and in this one a nested gridview people, Is it possible to allow the user to select one row or multiple rows from the people gridview using a check box and also get the datakey (in my case personid) of the the rows selected. Please point me in the right direction. This is what i have so far but i have problem accessing the child gridview in the button click event
Cheers, Shilpa.
<asp:GridView...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |