This question is locked. New answers and comments are not allowed.
Hello Everyone,
i have bound a Viewmodel with Telerik grid and annotated a property with DataType.Date but it does not show telerik datepicker when editing or inserting the value. Here is my viewModel
Edit: i m using ajax binding and i have successfully used Editor templates for editing EmployeeID using telerik dropdown (UIHint attribute). its Date field that has become a headache for me
Any help will be highly appreciated
i have bound a Viewmodel with Telerik grid and annotated a property with DataType.Date but it does not show telerik datepicker when editing or inserting the value. Here is my viewModel
public class MyViewMode{ public int id{get;set;} [DataType(DataType.Date)] [UIHint("Date")]// plz note that i copied telerik's date.ascx partial in ~/views/shared/Editor Templates/ folder public DateTime FromDate{get;set;} [DataType(DataType.Date)] [UIHint("Date")] public DateTime ToDate{get;set;}}
Any help will be highly appreciated