Click here to Skip to main content
15,881,812 members
Articles / Web Development / ASP.NET

MultiDropDown v2: A Multiple Selection Dropdown Control for ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.88/5 (37 votes)
8 Aug 2011CPOL9 min read 207.8K   14.3K   76  
The MultiDropdown control allows selection of multiple items from a checkable list of dropdown items. The latest version allow searching items.
/* The default class for the tooltip */
.mddtooltip {
	background-color:#FFFFD0;
	color:#000000;
	display:block;
	position:absolute;
	padding:2px 12px 3px 7px;
	margin-left:5px;
	border:1px solid black; 
}

/* The default class for the textbox */
.mddtextbox {
	background-color:#FFFFFF;
	color:#000000;
	border:1px solid black; 
}

/* The default class for the dropdown table */
.mdddropdown 
{
	background-color:#FFFFFF;
	min-width:180px;
	max-height:240px;
	overflow:auto;
	border:1px solid gray; 
}

.mdddropdown tr.selected
{
	background-color:#D0D0FF;
	border-top:1px solid gray;
	width:100%;
}

.mdddropdown tr.unselected
{
	background-color:#FFFFFF;
	border-top:1px solid gray;
	width:100%;
}

.mdddropdown td
{
	width:100%;
	text-align:left
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions