Home cant set the size of a multi line text box mvc
Reply: 0

cant set the size of a multi line text box mvc

user280
1#
user280 Published in July 23, 2018, 9:57 am

can anyone tell me why this wont work ? no matter what I use for cols & rows, the text box is always the same size

@Html.TextAreaFor(model => model.Report.EmailMessage,new { htmlAttributes = new { @class = "form-control", @cols = 100, @rows = 20 } })

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.402741 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO