I'm trying to use the model.DatePicker.HtmlAttributes property to set a css class but is not working. Can you please let me know the correct way to set a css class to the DatePicker control?
This is the complete code:
lst.Add(
"class", new { @class = "check-box" });
model.DatePicker.Value =
DateTime.Today.Date;
Thanks
Hi Michael,
Thank you for report. That issue has beed fixed and update will be available within service releases.
Codes, which merged HtmlAttributes, were accidentally removed while refactoring mvc helpers for editors.