c# .net core kendo dropdownlistfor enum

63

c# .net core kendo dropdownlistfor enum -

@(Html.Kendo().DropDownList()
    .Name("subscriptionTypeTest")
    .DataTextField("Text")
    .DataValueField("Value")
    .BindTo(Html.GetEnumSelectList(typeof(SubscriptionType)))
    .Deferred()
)

Comments

Submit
0 Comments