Asp.net Webform sets the method that allows the form to submit HTML

Time:2020-10-18

1. Add “validaterequest =” false “to the header of the page where HTML needs to be submitted


<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %>

2. Webconfig’s< system.web >Configuration under node


<httpRuntime requestValidationMode="2.0"/>

The above article Asp.net Webform setting allows the form to submit HTML method is to edit all the content shared with you, I hope to give you a reference, also hope you can support developeppaer.