A potentially dangerous Request.Form value was detected from client
Hello Guys In This Post We will solve this error about A potentially dangerous Request.Form value was detected from the client, Do you want to solve this error then follow some step.
A potentially dangerous Request.Form value was detected from the client
A potentially dangerous Request.Form value was detected from the client (editor="<h2>Angular js tutor...").
When does this error occur?
Basically this error from .aspx file ,we need to improve and add some property in .aspx file that code given following
validateRequest="false" add this code following Code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
instead of : Final Code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" validateRequest="false" Inherits="_Default" %>
Final Step : Refresh Your Page
Your error will be gone.