Hello,
I have a rather straightforward question.. For example when I use Kendo UI HtmlHelper to create a radio button and label:
@Html.Kendo().RadioButton().Name("isNotUKResident").HtmlAttributes(new { @name = "IsUKResident" }).Label("No").Value("0")
The rendered HTML looks like this:
<input name="IsUKResident" class="k-radio valid" id="isNotUKResident_0" aria-invalid="true" type="radio" value="0">
<label class="k-radio-label" for="isNotUKResident_0">No</label>
I want to be able to add HTML attributes to the Label tag, such as class and style. Is this achievable with the Kendo UI HtmlHelper? If so, as an example, how should I modify the Razor code above to achieve that?
Thanks