Listbox "restricted" selection

  • Thread starter Thread starter VK
  • Start date Start date
V

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
 
Javascript is the only way...

<VK> wrote in message 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top