1
MVC 4
의 웹 프로젝트에서 Razor
및 C#
으로 작업하고 있습니다. 동적으로 항목을 표시하는 @Html.DropDownList
을 사용했습니다.mvc4의 동적으로 생성 된 @ html.dropdown 컨트롤에 대한 툴팁
@Html.DropDownList
의 모든 항목에 대해 ToolTip
을 설정하고 싶습니다. 당신이 jQuery
을 사용할 수 있습니다
@Html.DropDownList("Config_Industry", ViewBag.Industry as IEnumerable<SelectListItem>, "Please Choose Item", new
{
@class = "drpDownCustomEngineered",
@style = "width: 258px;"
})