Monday, November 06, 2006

[ASP.Net] validateRequest

Every time we submit some data on the site, ASP.Net is requests validation of user input on the page and if user, for example, wrote <br> in some textbox, you get Server Alert, and page stops execution.
To avoid this, you need to put validateRequest = false; in the Page directive or in the configuration section.
By default, this property is set to true.

0 Comments:

Post a Comment

<< Home