.net 2.0 2005 EnableEventValidation

Friday, August 07, 2015 Unknown 0 Comments

.net Security in 2.0 will do a validation on any events the you are calling.

ie. handling a button click

you will get an error on EnableEventValidation=True during the postback of the page. This security measure was created to stop asp.net hacking. You may not want to turn of this security for your entire site. If you have a page that requires event driven postback functions you will need to add the attribute and value in the page directive to bypass this.

EnableEventValidation="False"

0 comments :

Powered by Blogger.