This question is locked. New answers and comments are not allowed.
Just looking at using some of the MVC Telerik controls, particularly the grid, so just starting out with a simple Grid, following the samples, all is good, with a String, Number field, with ajax editing inline, just have a simple class that is returning me a list of objects. So stops working when I add a DateTIme field into the Object class.
Data displays ok and then when I click edit, I get my editor controls, I can choose a date from the DateTime picker, but when I try and update it get the following error, see attached image.
The Controller is getting hit when I press the update button
EDIT: Sorry, is this something todo with Culture, if I change the DateTime field and add an annotation of [DateType(DateType.Date)] it then uses the Date.ascx shared template, but when I hit update after selecting say '27/3/2011' I get an error saying '3/27/2011' is not a valid value for 'Purchased', how do I handle the Culture information on the Ajax side of things ?
EDIT2; Yeah so if I choose '10/10/2011' for the Value it works fine.........
EDIT3: *sigh* sorry for taking up bandwith, so once I formatted the DateTIme value to my desired Format all good, including Date and or Date/Time.... thanks for the help! :) :)
Only joking.... do I get points or something for answering own question! :)
Data displays ok and then when I click edit, I get my editor controls, I can choose a date from the DateTime picker, but when I try and update it get the following error, see attached image.
The Controller is getting hit when I press the update button
EDIT: Sorry, is this something todo with Culture, if I change the DateTime field and add an annotation of [DateType(DateType.Date)] it then uses the Date.ascx shared template, but when I hit update after selecting say '27/3/2011' I get an error saying '3/27/2011' is not a valid value for 'Purchased', how do I handle the Culture information on the Ajax side of things ?
EDIT2; Yeah so if I choose '10/10/2011' for the Value it works fine.........
EDIT3: *sigh* sorry for taking up bandwith, so once I formatted the DateTIme value to my desired Format all good, including Date and or Date/Time.... thanks for the help! :) :)
Only joking.... do I get points or something for answering own question! :)