hello,
I am looking help for dropdownlist, I am using following dropdown list in my project : @Html.DropDownList("FileTypes", new List<SelectListItem> { new SelectListItem{ Text="All", Value = "1" }, new SelectListItem{ Text="Image", Value = "2" }, new SelectListItem{ Text="Document", Value = "3" }, new SelectListItem{ Text="Audio", Value = "4" }, new SelectListItem{ Text="Video", Value = "5" }, new SelectListItem{ Text="VR", Value = "6" }, }, new { @id = "ddlFileType" })
But I want my dropdown to be default open always, without clicking on it.
It should show all list items open always
Thanks