Author: moiseszaragoza | Posted on: 12/15/2008 4:37:24 PM | Views : 492

i am displaying HTML i have saved in the DB but i am updating that so it will store encoded HTML.

but i need to display proper HTML in inside a text field.

but when ever i press the submit btn it tells me it does not like it.

SAMPLE ERROR MESSAGE



A potentially dangerous Request.Form value was detected from the client (DisplayText="<b>Tertyer</b>"). Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationExce ...

Go to the complete details ...