[2005] Multiple Page directives?
Hey guys, I've got abit of a problem. I need to turn off event validation for a page, but that page is including multiple user controls, and I only need event validation off for one of those, and as is my understanding, you can only turn off event validation in the page directive in a web page, not a user control.
Is there a way to turn it off at perhaps Page_Load of the web page? (I'm loading the controls using a placeholder if that helps any)
Thanks :)
Re: [2005] Multiple Page directives?
Bottom part of this article.
http://aspnet.4guysfromrolla.com/articles/122006-1.aspx
I would go with the base page suggestion, but depends on your existing project.