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

Tab out of date picker

3 Answers 42 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 17 Jun 2010, 04:32 AM
Is it possible to tab out of the date picker?  Here's what I want to happen:

A new row is added to the grid.  Tab takes the user from field to field as he enters the date, but in the date picker, the tab leaves the date picker expanded.  I would like the user to use the cursor keys to select a date.  Then the user would hit the tab, the date picker would collapse, and focus would move to the next column.

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 21 Jun 2010, 09:39 AM
Hi Terry,

You can find a similar example following this link.

Greetings,
Kaloyan
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
0
Terry
Top achievements
Rank 1
answered on 21 Jun 2010, 05:32 PM
That does it, Kaloyan, thanks.

i was using a CellEditTemplate with a DatePicker.  I didn't know I could use a simple GridViewDataColumn.
 
Just out of curiosity, how does the cell know to offer a date picker?  Is it because of the format string specifying display as a date?  If so, does this work for other types of displays, such as time picker or integer?

Thanks for your prompt reply,

Terry
0
George
Telerik team
answered on 24 Jun 2010, 01:16 PM
Hello Terry,

Thank you for getting back to us.

If IsAutogenerated property is set to true, RadGridView control uses DatePicker as default editor of DateTime objects, if it is not - you can always use CellEditTemplate with a DatePicker.

I hope this information helps. I will be glad to assist you further.

Kind regards,
George
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
Calendar
Asked by
Terry
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Terry
Top achievements
Rank 1
George
Telerik team
Share this question
or