How to switch the filter editor in filter control as using DateTimePicker instead of TextBox for String?

3 posts, 1 answers
  1. King Chan
    King Chan avatar
    30 posts
    Member since:
    Feb 2010

    Posted 20 Apr 2012 Link to this post

    Hello Telerik Staff,

    As titled, for some reason I need to do filtering on a custom property which require DateTime value for filtering.

    How can I tell GridViewDataColumn  's filter control to use DateTimePicker as input, so my TypeConveter can accept the DateTime value?

    Note: I am not trying to create my custom field filter editor, I just want to use the default DateTime field filter editor. 

    Thanks

     

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Apr 2012 Link to this post

    Hello,

     You can read through this help article for an example on how to set different Editor.

    I hope that this is helpful.

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. King Chan
    King Chan avatar
    30 posts
    Member since:
    Feb 2010

    Posted 23 Apr 2012 Link to this post

    I see, so I still have to do it the same way as create custom filter editor control.
    I thought there would be a property that I can simply switch to another default filter editor instead of creating subclass, overriding method, and writting converter.  Thanks.
Back to Top