471,581 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,581 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 1360
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 discussion thread is closed

Replies have been disabled for this discussion.

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.