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

[Solved] HtmlAattributes on the actual input element

1 Answer 25 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 06 Nov 2011, 04:44 AM
Hi

How can I put html attributes on the actual input element and not on a div etc? IE: I want to put HTML5 attributes such as pattern.

Thanks

Michael

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Nov 2011, 02:27 PM
Hi Michael,

You can use .InputHtmlAttributes().

http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-datepicker-server-api.html

Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Date/Time Pickers
Asked by
Michael
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or