.Netter Tech Blog
Blogs Tech stuff and many more...
adsense
Saturday, May 30, 2020
ASP.NET MVC using data attributes in html helper classes
You can use data attributes in html helper classes as displayed below.
@Html.TextBoxFor(model=> model.PostCode, new { data_validate = "true" })
Cheers,
Samitha
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment