Click to See Complete Forum and Search --> : Problem is submiting some HTML codes !


Hadi Rezaie
February 15th, 2004, 04:44 AM
Hi there,

I've an TextArea in my WebForm ( in WebApplication ).
The user should be able to write some HTML codes in the TextArea.
Every time i want to submit the form i get an error :(

The error says:" A potentially dangerous Request.Form value was detected from the client (TextEditor="<P><STRONG>Hadi</STR..."). "

In above message i wrote <strong>Hadi</strong> in the TextArea.

How can i solve this problem ?!

Regards,
Hadi

seanwilkening
February 20th, 2004, 09:48 PM
In the <%@Page%> there should be a option that says "validateRequest=true"....if you want to allow people to upload html turn this to false.

Sean

Hadi Rezaie
February 22nd, 2004, 08:59 AM
Thanks alooot for reply :)