I have used following code to add css class with @Html.TextBox
but this is only working for @Html.TextBoxFor
and not for @Html.TextBox
.
@Html.TextBox("ticket_new_attachment_attributes_0_description", new { @class= "bigfield"})
What am I missing?
Try this
@Html.TextBox("ticket_new_attachment_attributes_0_description", null, new { @class= "bigfield"})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With