GridViewDateTimeColumn dropdown still unable to show both Date and Time panels?

2 posts, 1 answers
  1. David
    David avatar
    1 posts
    Member since:
    Jan 2015

    Posted 10 Mar 2015 Link to this post

    I see some posts in years back mentioned an intent to add the ability to choose both date and time in the GridViewDateTimeColumn's dropdown. Has that ever been done? Although we can choose the EditorType to be a DateTimePicker, there seems to be no way to tell that Editor we want to see both, not just date. If the feature is available, please describe how to access it. Thanks.
  2. Answer
    Stefan avatar
    2906 posts

    Posted 11 Mar 2015 Link to this post

    Hello David,

    Thank you for writing.

    You can access the date time editor in the CellEditorInitialized event and there you can enable its time picker:
    void radGridView1_CellEditorInitialized(object sender, GridViewCellEventArgs e)
        RadDateTimeEditor editor = e.ActiveEditor as RadDateTimeEditor;
        if (editor != null)
            RadDateTimeEditorElement element = (RadDateTimeEditorElement)editor.EditorElement;
            element.ShowTimePicker = true;
               element.CalendarSize = new Size(400,250);

    More about the editors in RadGridView is available here:

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top