__doPostBack and the Back Button

Posted by: Rick Strahls WebLog, on 22 May 2007 | View original

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...

Advertisement
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • ASP.NET Supervising Controller (Model View Presenter) From Schematic To Unit Tests to Code more
  • FlexiSkin Review for the Motorola Q more
  • ASP.NET: causing a postback after modal dialog is closed more
  • Update UI the easy way using anonymous delegates. more
  • [SQL] Scripting backup and restore all databases on a server (Part 1 - Simple Case) more
  • One Zip File Vs multiple raw: HTML,JS,CSS, images more
  • Asynchronous processing in .NET part 1: fundamentals more
  • Sending an HTML Email with Visual Studio 2005 more
  • We have resumed normality more
  • Asynchronous processing in .NET part 1: fundamentals more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD