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
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
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