Open condee78 opened 11 years ago
How did you create the <textarea>
?
if you are using <asp:TextBox TextMode="MultiLine" Rows="10" id="HtmlTextBox" runat="server" />
all you need to do is call, in your code behind page string myText = HtmlTextBox.Text;
Hi, I had been tried your suggestion, and it's work ^^, thanks balexandre
ah, I want to share one thing. I have facing another problem when I put text with html tag, like bold or italic, it will getting error. and fortunately I know how to fix it.
I put the code " httpRuntime requestValidationMode="2.0" " in my web.config, and set the ValidateRequest to false.
just in case another people facing this error ^^.
thanks
That's how to disable HTML cross validation at all.
Just for your information, in ASP.NET MVC you can just say that, and only that TextBox
can contain HTML characteres and keep everything else on the page to thrown an error when submitting, securing your page for any scripting exploits.
hey guys,
I want to get value from the Text area, and then show up that value to the "LabelDetail" when I click the button " ButInput_Click", but i don't know how to do that, anybody have some advice?? sorry , it's newbie question ><, cause I'm really new on wysihtml5 and asp.net
thanks,