Friday, February 27, 2009

A potentially dangerous Request.Form value

This error occurs when we try to post html code from code behind.The reason behind it server always validate the posted data, if it find that its an HTML code, error will occues like ‘A potentially dangerous Request.Form value…’.

if you want to send html data then you hvae to write {validateRequest=”false”} in page directiveex:
AutoEventWireup=”true” ValidateRequest=”false”

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.