Author: Rahul Joshi | Posted on: 4/17/2009 6:01:39 AM | Views : 312

 Hi,
In my application I have a common MasterSearch User Control which contains a GridView control displaying various records as per requirement. I have placed an ImageButton in each of the gridview rows. I have also created the handler for the Click event for those Image Button which is placed in the Container Page of the User Control.
Everything works fine i.e. when I click on the imageButton in a particular row the event fires & the Handler gets called, The problem is, it gets called twice. i.e. Unnecessarily the code is getting executed twice.
I have tried all the things like making AutoEventWireUp=False of the Page  etc.. But nothing helps.
Can anyone help?? 

...

Go to the complete details ...