I am dispalying some long text in the @Html.TextBoxFor. The text contains linefeed, carriage returns etc but @Html.TextBoxFor does not seem to respect those. Any ideas what i may be missing?
A Textbox is single line per definition.
You have to use a TextArea:
@Html.TextAreaFor( ...
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