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

[Solved] Problem with new values and the datepicker

2 Answers 124 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tobias
Top achievements
Rank 1
Tobias asked on 03 Sep 2010, 07:15 PM
Hi,

I have a grid with a date field inside it. I also have a insert button. The Grid uses asmx webservice to load and edit the grid. The problem is that then I insert a new value I always get 0001-01-01 as the new date. Im using localization to swedish in the web.config.

Any ideas?

Best Regards
Daniel 

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Sep 2010, 09:45 AM
Hi Daniel,

 I couldn't reproduce this problem locally. I am sending you a sample project. What is different in your case?

Regards,
Atanas Korchev
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
0
Tobias
Top achievements
Rank 1
answered on 06 Sep 2010, 07:04 PM
Thanks for the sample code. With it's help I was able to find the problem. The problem was that my Date field in my model was named Date. This caused the error after I renamed the field the error was gone.

Thanks
Daniel
Tags
Date/Time Pickers
Asked by
Tobias
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Tobias
Top achievements
Rank 1
Share this question
or