473,480 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Listbox "restricted" selection

VK
Hello:

I have a control listed as:
<asp:ListBox id="ddlList" runat="server"
SelectionMode="Multiple"></asp:ListBox>

- this list is dynamic. We would like users to select
4 choices. Is there a way to write this within this control or do we
have to write javascript to control the number of choices made? Or any
other ideas are welcome!

Many thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
1 1446
Javascript is the only way...

<VK> wrote in message news:uF*************@TK2MSFTNGP11.phx.gbl...
Hello:

I have a control listed as:
<asp:ListBox id="ddlList" runat="server"
SelectionMode="Multiple"></asp:ListBox>

- this list is dynamic. We would like users to select
4 choices. Is there a way to write this within this control or do we
have to write javascript to control the number of choices made? Or any
other ideas are welcome!

Many thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3238
by: Jochen Daum | last post by:
Hi ! If I have an input field <form ... method="post"> <input type="text" name="abc def"> </form>
8
2322
by: Arvid Andersson | last post by:
Hello, I need to convert a string to a number, but the string can contain +,-,* and / as well as parenthesis. For example, if I have the string "30/(6+9)" I would like a function that returned the...
7
1853
by: Ken Fine | last post by:
My well-heeled clients would like a tool that I could build into a web application that would suck down the entire contents a remote webpage and store it on a local filesystem. I know how to...
2
1242
by: Olivier aka Cypher | last post by:
Hi gurus and fellows. I designed an pilot applet with can be seen at http://push.integration.euronext.com/Applet/index_raw2.htm This applet has no GUI in fact. It receive financial data (which...
3
9875
by: buht | last post by:
Hello Everyone, Fairly new to c# here and have a question regarding scrollbars, particularly a vertical scrollbar. It looks like my options are restricted for the textbox scrollbars being...
1
230
by: VK | last post by:
Hello: I have a control listed as: <asp:ListBox id="ddlList" runat="server" SelectionMode="Multiple"></asp:ListBox> - this list is dynamic. We would like users to select 4 choices. Is there...
3
16174
by: edmundleungs | last post by:
I have a db2 account on AIX. After connecting to AIX using SSH, i use the account to connect to DB. When I use "db2 connect <DB name>", it works fine. However, when i use "db2 connect to <DB...
94
30175
by: Samuel R. Neff | last post by:
When is it appropriate to use "volatile" keyword? The docs simply state: " The volatile modifier is usually used for a field that is accessed by multiple threads without using the lock...
6
2356
by: rainy6144 | last post by:
Does the following code have defined behavior? double *new_array(unsigned n) { double *p = malloc(n * sizeof(double)); unsigned i; for (i = 0; i < n; i++) p = 0.0; return p; }
0
7039
marktang
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,...
0
6904
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...
0
7080
jinu1996
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...
1
4770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4476
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...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
176
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.