473,396 Members | 1,722 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,396 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 1436
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: 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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.