Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 13, 2007 04:41 PM by Haacked
Dec 13, 2007 12:51 PM|LINK
All aspx pages in the out-of-the-box MVC project have AutoEventWireup="true". I thought AutoEventWireup was a throwback to web forms.
- Must I have AutoEventWireup?
- Must AutoEventWireup be true?
- What are the consequences of setting AutoEventWireup to false?
Dec 13, 2007 01:49 PM|LINK
check out that link, someone had your same question -- jp
Dec 13, 2007 04:41 PM|LINK
Because MVC builds on the existing ASP.NET architecture, we haven't had time to remove some of the properties in the <%@ Page ...%> directive that do not apply. This is one of them.
You are correct, it doesn't fit the MVC model. You can ignore it, remove it, or set it to false.