New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Adaptive Mode

The Telerik UI for ASP.NET MVC DropDownTree 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().DropDownTree()
        .Name("dropdowntree")
        .DataTextField("Name")
        .DataValueField("id")
        .AdaptiveMode(AdaptiveMode.Auto)
        .DataSource(dataSource => dataSource
            .Read(read => read
                .Action("Read_DropDownTreeData", "Home")
            )
        )
    )

See Also

In this article