By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,190 Members | 1,503 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,190 IT Pros & Developers. It's quick & easy.

Event firing twice bug?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.