__doPostBack and the Back Button
Posted by: Rick Strahls WebLog,
on 22 May 2007 |
View original | Bookmarked: 0 time(s)
One of my West Wind Web Connection customers (but this also applies to ASP.NET) recently posted a question regarding a page that wasn't working correctly when using the Back button. The behavior would be something like this:
Go to the page
Click a link that causes a __doPostBack() to occur
Click the Back button
Click on a regular Submit button
What happens is that the Submit ends up re-executing the __doPostBack() operation, rather than firing the button click.
It's interesting, because...