How to add a rich text box or use html and links in asp.net mvc 2?
Posted
by VJ
on Stack Overflow
See other posts from Stack Overflow
or by VJ
Published on 2010-06-01T20:08:56Z
Indexed on
2010/06/01
20:13 UTC
Read the original article
Hit count: 329
Hi all I wanted to allow the users to enter html and links in textbox. How can I achieve something like this in ASP.NET MVC 2? I have something like this now...
<div class="editor-field">
<%= Html.TextAreaFor(model => model.Description) %>
<%= Html.ValidationMessageFor(model => model.Description) %>
</div>
I found this link - http://stackoverflow.com/questions/2238393/allow-html-in-text-boxes-asp-net-mvc
But I am using ASP.NET MVC 2 and I am looking for something that MVC provides for this by default like a rich textbox or something and not just disable the validation.
© Stack Overflow or respective owner