Vulnerability in EPiServer.Forms
I have a question that I hope you will be able to help me with...
I luckly built a page type that I used to create a new page in my site, but my site uses MasterPages, so, when I changed my pagetype so that it will use the required MasterPage, I realized that the my codebehind code is no longer being executed, for exemple if I have a button and for this button it was implemented the event button_Click... the code being placed never gets executed...
Does anybody know what did I do wrong?
Thanks a lot!
BR, Victor Rincon
Just a guess:
Are you declaratively wireing up the events in the page or codebehind? If not, then maybe you replaced parts of the @Page directive when adding the masterpage and the AutoEventWireup attribute was set to false?
Thank you so much Magnus!
That was exactly the problem, the AutoEventWireup was set to false.
You saved my week!