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

How to change default value for Datdate picker filter

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Totti
Top achievements
Rank 1
Totti asked on 07 Sep 2011, 05:04 AM
On my gridview, default value for DateTime picker filter is always 1/1/0001. So I want to set this value to current date. Is there any way to do it?.
(I attached pic for description)

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 12 Sep 2011, 02:27 PM
Hi Totti,

Try modifying your default contructor to set the respective property to DateTime.Now. Please, refer to the attached project.

Regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
GridView
Asked by
Totti
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or