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

[Solved] Problem with Date control in grid

0 Answers 8 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajesh
Top achievements
Rank 1
Rajesh asked on 06 Sep 2011, 03:10 PM
I am using Date control in telerik grid on editing.

 [DataType(DataType.Date)]
        [Required(ErrorMessageResourceType = typeof(VRS.Resources.Sales), ErrorMessageResourceName = "Required")]
        public DateTime EndMonth { get; set; }

When i click insert button on telerik grid it automatically create my user control on that property. I am facing problem when user select the date from date picker and then he can modifiy the date by altering the date in that picker and after that he click the insert button then my model value takes min date i.e., 1/1/1
but what i need is if date is improper then my insert function not to execute.

Thanks in advance.
Tags
Grid
Asked by
Rajesh
Top achievements
Rank 1
Share this question
or