Displaying datepicker in GridViewComboBoxColumn

4 posts, 0 answers
  1. Gauri
    Gauri avatar
    25 posts
    Member since:
    Jun 2010

    Posted 30 Jun 2010 Link to this post

    Hi, I am using GridViewComboBoxColumn in Telerik radGridView. Now I have to add Datepicker in GridViewComboBoxColumn.
    So how to achieve that?
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Jul 2010 Link to this post

    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
  3. DevCraft banner
  4. Gauri
    Gauri avatar
    25 posts
    Member since:
    Jun 2010

    Posted 02 Jul 2010 Link to this post

    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?
  5. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Jul 2010 Link to this post

    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
Back to Top