Adaptive Mode
The Telerik UI for ASP.NET MVC DropDownList supports an adaptive mode that provides a mobile-friendly rendering of its popup. Which will accommodate its content based on the current screen size.
To set the adaptive mode, use the AdaptiveMode()
option.
@(Html.Kendo().DropDownList()
.Name("dropdownlist")
.DataTextField("ProductName")
.DataValueField("ProductID")
.AdaptiveMode(AdaptiveMode.Auto)
.DataSource(source => {
source.Read(read =>
{
read.Action("Products_Read", "DropDownList");
});
})
)