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

Two RadFilterDateFieldEditor questions

2 Answers 39 Views
Filter
This is a migrated thread and some comments may be shown as answers.
dimrud
Top achievements
Rank 1
dimrud asked on 15 Sep 2010, 02:01 PM
Hello,
I have two questions :
1 ) How can I put default value for RadFilterDateFieldEditor ? Now its default value is 1/1/0001 12:00:00 AM and I wanted to changed it to something like DateTime.Now.


2) How can I take the last value from RadFilterDateFieldEditor .
When I try to take it even after I changed it for example to 09/14/2010 12:00:00 AM through UI
RadFilterSqlQueryProvider provider = new RadFilterSqlQueryProvider();
provider.ProcessGroup(RadFilter1.RootGroup);
string timeStr = provider.Result;

The provider.Result equals  the same 1/1/0001 12:00:00 AM

Please help !!!

2 Answers, 1 is accepted

Sort by
0
dimrud
Top achievements
Rank 1
answered on 17 Sep 2010, 03:18 PM
Dear Telerik !!!
What is about any reply to my two questions ?

Regards
0
Nikolay Rusev
Telerik team
answered on 20 Sep 2010, 09:48 AM
Hello,

For your convenience I've attached sample page demonstrating how you can set default date on RadDateTimePicker's in RadFilter. This should answer your first question.

Regarding the second one I am not able to observe such behavior. Can you replicate it on the demo page attached to this thread.

All the best,
Nikolay
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
Filter
Asked by
dimrud
Top achievements
Rank 1
Answers by
dimrud
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or