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

RadDatePicker Filter in Grid not displaying correct date format

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dinesh
Top achievements
Rank 1
Dinesh asked on 27 Mar 2014, 07:30 AM
Hi Team,

I am using RadDatePicker to filter BoundColumn which gets the Date from the database in string format .

For getting Date from SQL Server , we are getting Date in format as 107 and Date string as "MMM dd,yyyy" .

For example we are getting date string from DB as "Jan 10,2014" . We are using RowFilter on date value selected from RadDatePicker.

But RadDatePicker is not displaying date in format needed that is "MMM dd,yyyy" .It is breaking at "," .

Please suggest way to change displaydateformat of RadDatePicker to "MMM dd,yyyy" to fix this issue.

I tried using 
dtpicker.DateInput.DisplayDateFormat = "MMM dd,yyyy" ;
where dtpicker is ID of RadDatepicker .
It is not working , please suggest a way to fix this .

Regards,
-Dinesh Kotwani

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 27 Mar 2014, 08:17 AM
Hello Dinesh,

Could you confirm that you bind the date using the DbSelectedDate property of the picker?

Regards,
Vasil
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Grid
Asked by
Dinesh
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or