Adding tooltips for Items in a dropdownlist control
At times dropdownlists will contain data of more than anticipated length. However, no one prefers having dropdownlists which are very wide. Also, the 'ToolTipText' property of the dropdownlist will provide tooltip for the entire control. Meaning, TooTip is available only for the current selected item in the dropdownlist. But, requirement says that the tooltip should be available for each item in the dropdownlist.
Here is a small tip thats pretty handy.
NOTE: This tip is applicable to IE 7.0 and later versions.
protected void Page_Load(object sender, EventArgs e)
FillDropDownList(bErrors); //Bind the dropdownlists.
private void AddToolTip(DropDownList lst)
foreach (ListItem curItem in lst.Items)
Happy programming... :)