Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to allow html in textbox

Status
Not open for further replies.

belle9

Programmer
Nov 3, 2004
87
US
When I try to submit a form with html in my textbox, I get this error:

A potentially dangerous Request.Form value was detected from the client (txtDescription="... energy!* <br><br> Just 15 ...").
 
You will get that as you are entering HTML into your textbox. To turn it off add ValidateRequest="false" into your Page tag at the top of your ASPX page.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top