MVC 4とでWebプロジェクトに取り組んでいRazorますC#。私は@Html.DropDownListその表示項目を動的に使用しました。
ToolTipのすべてのアイテムに設定したい@Html.DropDownList。これは私のコードです:
@Html.DropDownList("Config_Industry", ViewBag.Industry as IEnumerable<SelectListItem>, "Please Choose Item", new
{
@class = "drpDownCustomEngineered",
@style = "width: 258px;"
})