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

DateTime column filtering with 'Contains' condition.

1 Answer 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jeffrey Lewis
Top achievements
Rank 1
Jeffrey Lewis asked on 17 May 2010, 09:30 AM
Hi,

Is it possible to include a 'Contains' filtering condition for columns with DateTime data type (See attachment). We need this to allow our users to filter records based on a particular month. The date time format we're using is dd/MM/yyyy.

Thanks in advanced.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 17 May 2010, 10:00 AM
Hi Jeffrey Natheniel Lewis,

That is impossible. One DateTime cannot contain another DateTime in the classic sense of the Contains operator.

You might be able to develop your own filtering control with custom logic, even though I am not sure how your requirement can be achieved. 

This blog will help you learn how custom filtering controls are developed.

All the best,
Ross
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
GridView
Asked by
Jeffrey Lewis
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or