When I try to add a label to a DropDownList, it gives me a syntax error as if the property doesn't exist. Thoughts?
CS1929
'DropDownListBuilder' does not contain a definition for 'Label' and the best extension method overload 'HtmlHelperLabelExtensions.Label(IHtmlHelper, string)' requires a receiver of type 'Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper'
@(Html.Kendo().DropDownList() .Name("PrimaryAnalystId") .Label(label => label.Content("Primary Analyst")) .OptionLabel("[Select a person]") .DataTextField("Person") .DataValueField("PersonId") .DataSource(s => s.Read(r => r.Action("GetPeople", "Utility", new { type = "analyst" }))) .HtmlAttributes(new { required = "required", validationmessage = "Primary analyst is required." }))