public class BindingClass
{
public DateTime? BeginDate { get; set; }
}
Then this Razor markup:@model BindingClass
@(Html.Telerik().DatePicker()
.Name("Test")
.Value(Model.BeginDate)
)
元ネタ
https://stackoverflow.com/questions/8201704/telerik-mvc-datepicker-set-to-null-or-empty-asp-c-sharp
0 件のコメント:
コメントを投稿