468,539 Members | 1,487 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,539 developers. It's quick & easy.

ASP.Net Limit the amount of selections in a Multiple ListBox


I am trying to figure out how to limit the amount of selections that can be made in a asp:ListBox to 5. Does any one have an idea of how to do that? I did this in classic asp before using JavaScript but I do not know how to do this in ASP.net.

Mar 18 '08 #1
2 1372
kunal pawar
297 100+
i think, u have to use same method in ASP.Net as like Classic asp
Mar 19 '08 #2
Thanks for the reply.

I tried running my javascript function. But for some reason it won't fire using the onChange event of the listbox. I don't know how to get the javascript function to run.
Mar 19 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by theoryboy | last post: by
2 posts views Thread by Craig B. | last post: by
reply views Thread by bill yeager | last post: by
2 posts views Thread by Steffen Loringer | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.