473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Event firing twice bug?

ann
I have a datagrid control I am using - the edit & update events are firing
twice. I searched on google and see others have had same issue not just with
datagrid but with other controls, but no resolution except to try
"AutoEventWireup="false" , which it already is and it doesn't fix it. Can
anyone help me?

c# & net 1.1

thanks
Jul 18 '06 #1
2 1435
sam
Can you put a breakpoint on the page load event and make sure the
*page* isn't loading twice? I had a problem once with the Button
control causing that, even though you are probably using links.

Also maybe you could post the code where you hook up the events.

-Sam

ann wrote:
I have a datagrid control I am using - the edit & update events are firing
twice. I searched on google and see others have had same issue not just with
datagrid but with other controls, but no resolution except to try
"AutoEventWireup="false" , which it already is and it doesn't fix it. Can
anyone help me?

c# & net 1.1

thanks
Jul 18 '06 #2
Check to see if you have any BACKGROUND attributes with "#xxx..." as the
value . like "Background ="#XXXX.." to any of the tag. these kind of
attributes causes the post back again causing the event to fire up again.

Ramesh Babu Veeramani.MCSD

"sam" wrote:
Can you put a breakpoint on the page load event and make sure the
*page* isn't loading twice? I had a problem once with the Button
control causing that, even though you are probably using links.

Also maybe you could post the code where you hook up the events.

-Sam

ann wrote:
I have a datagrid control I am using - the edit & update events are firing
twice. I searched on google and see others have had same issue not just with
datagrid but with other controls, but no resolution except to try
"AutoEventWireup="false" , which it already is and it doesn't fix it. Can
anyone help me?

c# & net 1.1

thanks

Jul 28 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Seraph | last post by:
Again, I'm rather new here, so if I fail to follow any etiquette, please forgive me and let me know what I've done wrong, but I think this might interest quite a few people. One of my colleaques...
14
by: TS | last post by:
I have this custom data list control and i override the onItemDatabound event. After upgrading to vs 2005, this event is not always getting called, though it does at other times. No changes were...
2
by: John Kotuby | last post by:
Hi guys, I am converting a rather complicated database driven Web application from classic ASP to ASP.NET 2.0 using VB 2005 as the programming language. The original ASP application works quite...
18
by: joaotsetsemoita | last post by:
Hello everyone, I'm having troubles assigning an onclick event to a cell. Im trying something like cursorPoint.cells.style.cursor = "hand"; cursorPoint.cells.width = "20";...
3
by: =?Utf-8?B?QmFycnkgR2lsYmVydA==?= | last post by:
I have a class that raises events that downstream objects subscribe to. In one case, after destroying the object, the event seems to still get handled in a subscriber object. So I instantiate an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.