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

Displaying datepicker in GridViewComboBoxColumn

3 Answers 54 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Gauri
Top achievements
Rank 1
Gauri asked on 30 Jun 2010, 12:18 PM
Hi, I am using GridViewComboBoxColumn in Telerik radGridView. Now I have to add Datepicker in GridViewComboBoxColumn.
So how to achieve that?

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 02 Jul 2010, 11:36 AM
Hello Gauri,
Do you need to repace the combo editor with date picker , place the datepicker besides the combo , or somewhere inside the combo?. Also what is the usage scenario  of such setup.

Answering this questions will help me  better understand what is the final requirement so I can try provide some descent  solution.

A picture ( e.g. excel muckup of what you want to appear in the cell) would be also quite helpful in this case.

Regards,
Pavel Pavlov
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
Gauri
Top achievements
Rank 1
answered on 02 Jul 2010, 11:44 AM
Hi, 
Thank's for the reply. I am using GridViewComboBoxColumn.  Now I have to add Datepicker in GridViewComboBoxColumn. Because my requirement is if select Time then only Datepicker should display, otherwise combobox should be display.So how to do that?
0
Pavel Pavlov
Telerik team
answered on 02 Jul 2010, 12:23 PM
Hello Gauri,

My advice here would be to use a regular column instead of the GridViewComboboxColumn.
Then you can prepare two different datatemplates - one with datepicker and one with combobox.
This way using the CellTemplateSelector of the column  you can conditionally switch between the two templates , based on your rules.

Best wishes,
Pavel Pavlov
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
DatePicker
Asked by
Gauri
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Gauri
Top achievements
Rank 1
Share this question
or