I build and bind a DropDownList as listed below.
The "GetItemCategories" returns data I would like to sort before displayed in the DropDownList.
How do I do the sorting?
@(Html.Kendo().DropDownListFor(m => m.Category)
.Name("Category") .DataTextField("Name") .DataValueField("Value") .HtmlAttributes(new { style = "width: 280px;" }) .DataSource(source => { source.Read(read => { read.Action("GetItemCategories", "Helper"); }); }) .Value(Model.ActionTimeFrameId.ToString()))
