Hello Lars,
Normally, the tabindex of the DropDownList wrapper (<span class="k-widget k-dropdown">) is copied from the DropDownList element (<input id="MedlemLandekode">) during widget initialization. If the two tabindex values end up being different suggests that the tabindex of 8 is set via JavaScript after the widget is created. In this case, please set it to the wrapper <span> directly.
Another possible option is to set it in the server-side declaration via HtmlAttributes().
Regards,
Dimo
Telerik
Normally, the tabindex of the DropDownList wrapper (<span class="k-widget k-dropdown">) is copied from the DropDownList element (<input id="MedlemLandekode">) during widget initialization. If the two tabindex values end up being different suggests that the tabindex of 8 is set via JavaScript after the widget is created. In this case, please set it to the wrapper <span> directly.
Another possible option is to set it in the server-side declaration via HtmlAttributes().
@(Html.Kendo().DropDownList()
.HtmlAttributes(
new
{ tabindex = 8 })
)
Regards,
Dimo
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items