DropDownTreeBindingSettingsBuilder
Methods
Enabled(System.Boolean)
Enables or disables binding.
Parameters
value - System.Boolean
Example
@( Html.Kendo().DropDownTree()
.Name("DropDownTree")
.DataBinding(dataBinding =>
{
dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]);
})
)