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

[Solved] Filter DateTime format

1 Answer 138 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Graham
Top achievements
Rank 1
Graham asked on 14 Jan 2011, 11:13 AM
Hi,
We have a grid with boud columns that set the dataformatstring for the date time format. When the user tries to then filter the column the filters are shown in the mm/dd/yyyy format no-matter how the column format is set.

We found this solution for ASP.Net
http://www.telerik.com/help/aspnet/grid/grdfilteringfordatetimecolumnwithdataformatstring.html
but we have been unable to reproduce it in silverlight as the events needed do no seem to be available.

Is there a way to set the filter format the same as the column?

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 14 Jan 2011, 01:00 PM
Hello Graham,

The data format string defined on the column is respected by the filtering control.

I have prepared a sample project for you. Take a look at the "Est." column.

I hope this helps.

All the best,
Ross
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Graham
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or