asp.net - Spot the place that submits the form in ASP .NET -
I have ASP There is a button on the net page, in which the button onclick event is connected to doPostBack function. However, when I click on that button it gets presented twice, the server side debugger enters the page_load twice, Fidler records two ASPX requests, no 302 redirects etc. It is a very straightforward page.
When I set a breakpoint in the __do postback function, it is also called once (maybe this is only an illusion).
Is there a greater chance of debugging the client side to find this issue?
Thank you, Pavel
Do you manually wipe event handlers? If so, you should check AutoEventWireup = "true" in the ASPX page directive. If so, replace it on the wrong or remove the manual wiring. This can happen when you upgrade an old page with a designer file in a new web application format.
Comments
Post a Comment