Hi,
I am trying to use the GenericDropDown control as follows:
Controller:
ViewData["RolesDropDown"] = rolesRepos.GetAllRoles();
View:
@{
Html.Syncfusion().GenericDropDown("RolesDropDown")
.AutoFormat(Skins.Monochrome)
.DataSource((System.Collections.IEnumerable)ViewData["RolesDropDownData"])
.AllowTextEdit(false)
.AllowMultipleSelection(false)
.Text("[Select]")
.Width(310)
.Render();
}
The data gets passed to the view fine however, the drop down does not render correctly (drop arrow is partially hidden) and there are no items in the drop down list.
Am I doing this correctly or missing something?
Thanks,
Doug