Solved

Long drop-down lists

Posted on 2011-09-16
8
237 Views
Last Modified: 2012-05-12
This is a best practices question. I'm working on an app (ASP.Net - C#) and I've got a couple of dropdowns in it that could get  kinda long 50-100 items each, I think. Rather than having some unwieldly long drop down on the screen, is there something better I could do? Is that considered OK?

Maybe a list box and a filter??
0
Comment
Question by:jdcollins21
8 Comments
 
LVL 21

Accepted Solution

by:
Dale Burrell earned 500 total points
ID: 36553015
50-100 is fine. Any country drop down list has 200+ For thousands you'd need either some form of pre-filter or an ajax drop down list filtered in some way.
0
 
LVL 16

Expert Comment

by:disrupt
ID: 36554392
0
 
LVL 7

Expert Comment

by:gopaltayde
ID: 36560104
may be below link could provide you some hint to start with

http://forums.asp.net/t/1509967.aspx/1?Huge+dropdownlist+rendering
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 10

Expert Comment

by:GlobaLevel
ID: 36601635
if you need to stay with the dropdownlist...you can use a trreview inside a DDL...it works real nice:

http://forums.asp.net/t/1654783.aspx/1?JQuery+How+Can+I+Create+a+TreeView+inside+a+dropdownlist
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 37900657
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 21

Expert Comment

by:Dale Burrell
ID: 37900658
I believe my answer, #36553015, fully answers their question.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.NET 2008 Winforms Signing 13 33
C# MVC Insert Multiple Row into DB 2 32
Upgrade code from VS 2010 to VS 2015 7 21
Data organization issue 7 22
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question