I have a drop-down list in my cshtml view. But some strings are too long to be displayed in a single line. As in the below image:
I need to to set it so that only a certain number of characters is displayed in the dropdownlist and when the mouse is hovered over the whole string shall be scene, similar to a tool tip text.
<div class="span11">
@Html.DropDownList("specificationList", new SelectList(ViewBag.Specifications, "SpecificationId", "Name", ViewBag.SpecificationId), new { @class = "dropdown-toggle" })
</div>