Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 September 7th, 2005, 12:22 AM
Authorized User
 
Join Date: Feb 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange problem in page load event

Dear readers , ,

 A very strange problem is there . I am saving the data of web control on button's click in asp.net page . but when I refresh the page by F5 , event is fired automatically and teh data is saved again in the database . Do u have any idea to resolve this issue .


Waiting for the reply ,



Cheers :
K K Singh.
+91-9810481159

Why to be GOOD when U have the ability to be GREAT
__________________
Cheers :
K K Singh.
+91-9810481159

Why to be GOOD when U have the ability to be GREAT
 
Old September 13th, 2005, 12:51 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

If you are doing it in the Page_Load it will be saved everytime unless you place the code in an
If Not IsPostBack Then
End if
statemtnt.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange texture load anomaly Jason47401 Visual C++ 1 July 27th, 2007 07:00 PM
flash button not causing page load event olambe Flash (all versions) 3 June 22nd, 2007 10:17 PM
Page Load event qadeer05 ASP.NET 1.0 and 1.1 Basics 5 July 19th, 2004 08:57 AM
flash button not causing page load event olambe BOOK: ASP.NET Website Programming Problem-Design-Solution 1 June 27th, 2004 09:02 PM
Page Base Load event order frayed_edge BOOK: ASP.NET Website Programming Problem-Design-Solution 3 March 4th, 2004 08:37 AM





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