Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2007, 03:35 PM
Authorized User
 
Join Date: Aug 2007
Location: Moscow, , Russia.
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default F5 (Refresh) adds a new record after postback

Hi!
Have anyone solve this ugly bug?

 
Old November 20th, 2007, 10:10 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Copenhagen, , Denmark.
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default

It's not a bug. That's common behaviour for a webpage. There's a reason why a lot of sites (when you fill in a form and submit by means of clicking a button) will list a warning stating you should not hit the button multiple times.

One way to avoid this from happening is disabling the button on a button_click, but that might not fully solve your problem.

If I remember correctly, the issue has been raised here before as well.

Cheers,

Peter

http://entropia-online.blogspot.com/




Similar Threads
Thread Thread Starter Forum Replies Last Post
hit F5 refresh triggers again the query cp75 Beginning PHP 2 September 25th, 2008 01:12 AM
Page Refresh on first postback slim182 ASP.NET 2.0 Basics 4 February 20th, 2007 08:22 PM
Custom Postback and Gridview refresh wirerider ASP.NET 2.0 Basics 5 February 28th, 2006 04:33 PM
Refresh DataGrid without PostBack Baby_programmer Classic ASP XML 1 April 2nd, 2005 04:22 AM
Refresh a combobox without postback Eddy ASP.NET 1.x and 2.0 Application Design 1 March 10th, 2004 12:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.