Home > Web Front-end > HTML Tutorial > C# (HTML)_Tips_About the solution to the inability to enter HTML tags in the textbox box (for example, after entering '

', the system will crash when submitting the form)_html/css_WEB-ITnose

C# (HTML)_Tips_About the solution to the inability to enter HTML tags in the textbox box (for example, after entering '

', the system will crash when submitting the form)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:48:34
Original
1475 people have browsed it

The main modified file is the config file (Web.config):

1. Add attributes in the tag: validateRequest="false"

 

 

2. Add attributes in the tag: requestValidationMode="2.0"

 

This problem is solved.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template