469,133 Members | 1,211 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

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 1257
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.

Similar topics

4 posts views Thread by Seraph | last post: by
2 posts views Thread by John Kotuby | last post: by
18 posts views Thread by joaotsetsemoita | last post: by
3 posts views Thread by =?Utf-8?B?QmFycnkgR2lsYmVydA==?= | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.