Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
DatePicker.HtmlAttributes
posted

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:

 

 

 

 

 

Dictionary<string, object> lst = new Dictionary<string,object>();

lst.Add(

 

"class", new { @class = "check-box" });

 

model.DatePicker.Value =

 

DateTime.Today.Date;

Thanks

Parents
No Data
Reply
  • 24497
    Suggested Answer
    posted

    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.

Children
No Data