This is a migrated thread and some comments may be shown as answers.

[Solved] SetTabIndex for Date picker when used with template

1 Answer 11 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aleksandar Andreic
Top achievements
Rank 1
Aleksandar Andreic asked on 21 Jul 2010, 06:00 PM
I currently have the datepicker working as an edit template. I have set the tab index for all elements on my form. After doing so I run the form and the tabindex is not correct for any field that uses the datepicker template. All those fields have a tabindex ="-1". How can the tab index be set correctly?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 22 Jul 2010, 09:01 AM
Hi Aleksandar Andreic,

If you need to set tab-index to datepicker you need to use InputHtmlAttributes in order to set tab-index of the input element into datepicker:
.InputHtmlAttributes(new { tabindex = "10"})


All the best,
Georgi Krustev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Date/Time Pickers
Asked by
Aleksandar Andreic
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or