I Simply drag a button from the toolbar onto a new page with a master page and a title, double click it so that I enter the Button1_Click function and sets a breakpoint and add some random code. The breakpoint nor the code never fires. I've tried this on several different pages and controllers, but with the same results: The page reloads, but no code is run.
I Have Tried:
Ive tried with three different webbrowsers with all plugins disabled.
I've tried to turn of Causes Validation, - Nothing changes.
I've tried to clean and Rebuild the project, - Still nothing.
I've tried to create a whole new project, - Does'nt work there either.
A RadioButtonList OnDatabound Event works, but whenever i try to do a Button or ImageButton click event the code for the event never fires. Ive programmed several webapplications in other versions of visual studio and ASP.NET but I have never encountered this problem before.
Breakpoints work in other parts of the code and the compile settings is set to DEBUG.
I am using
* Visual Studio 2010
* ASP.NET 4
* MVC 2.
Am I supposed to file a bug report or does anyone out there have a solution?
Many thanks in adv
View Complete Post