A potentially dangerous Request.Form value was detected from the client side  

Posted by: Quadtechindia in

If you face such above mentioned error on inserting a value then that value might be containing anchor tags(< or >). If you want to insert these values you have to write

ValidateRequest="false" in page directive (first line of .aspx file)


Example:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="xyx.aspx.cs" Inherits="xyz" ValidateRequest="false" %>

This entry was posted on Friday, February 19, 2010 and is filed under . You can leave a response and follow any responses to this entry through the Subscribe to: Post Comments (Atom) .

0 comments

Post a Comment