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

Filter with From and Todate for DateTime colum with Normal DatePicker filter

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mamta
Top achievements
Rank 1
Mamta asked on 03 Dec 2010, 09:45 AM

Hi,
I have a requirement for DateTime column to provide two dates (like From and To date) and filter the records which falls between these dates.I went through following link
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

and applied it properly.
but with this feature I also want the normal DateTime filter (with date Picker and filter text box) for the filtering the datetime column with following options-
GreaterThan (the provided date in textbox)
LessThan
Equals
NotEquals
similar to follink link for Shipped Date column-

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

How to get both type of filter controls in single filter template column.

could you tell me how to apply both functionalities  for single DateTime column in filter section.

Regards,
Mamta

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 08 Dec 2010, 02:41 PM
Hi Mamta,

You can not get the two filter controls in the same filter template column. You can leave the column with one RadDatePicker to achieve the second functionality. And then use the header context filter menu of the column to filter it by two conditions related with a logical AND operator.

Regards,
Vasil
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Mamta
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or