Cheers Florence My Blog Hi flohaas, Do you use any Sql D... ID = "My Control1";) and I am loading the control on post back in the page_load of the parent pa...

rowupdating event fires twice-54

On postback the onservervalidate event fires twice EVERY TIME! I have duplicated this problem on multiple computers and it can be easly duplicated by placing a custom validator into a simple gridview.

By putting the following code into the onservervalidate event you will see for yourself (the custom validator must be within a gridviewrow)Protected Sub User Name Server Valida... Dynamically loading user control to a gridview Hello, I know there are many posts about loading user control dynamically and events which not fire. The difference in my example is that I am loading the user control into a specific line in a grid view after the user clicked on a button.

Here is what I'm doing: 1- my test Page_Load methodprotected void Page_Load(object sender, Event Args e) // Note: Get Data Table() returns a non-null Data Table object.

// Also the Data Table has more than 1 row // (i.e.

Can someone explain exactly how/when an Object Data Source fires? NET page, with a Grid View, which is referencing an ODS.

I put a breakpoint in the method the ODS is using, and noticed it was firing twice.If you're still having this problem after removing this code, i suspect something else is causing your page to load twice. I'm facing some annoying Grid View behavior where it fires the Row Deleting event twice.I'm doing the very normal (logical) steps for deleting a row from a Grid View.I'm using the Auto Generate Delete Button property set as true. Hi All, i have been trying to use those events for hours and could not succeed in some stuations.for example it works fine with primary key fields and the other fields which are not defined in the template fields.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. when I click on the image Button in a particular row the event fires & the Handler gets called, The problem is, it gets called twice. When clicking on either of these controls, my break point is never hit in the event method.