C gridview rowupdating not firing ridating com

Matt Yes they are all wired up which is why it's peculiar.Besides it's 2.0 framework so just having a Row Command hooked up properly should have that event triggered every time something happens on that control.When I hit Edit, the textboxes appear and I am able to edit my values.When I hit Update, the changes are not saved, and there is no error message.To post the information to the grid we use a simple form that post back and fills a Session variable that is a collection of these change Log's. Thanks in advance Matt Dear, Matt : An important property that plays a special role in Update and Delete operations is the Data Key Names property.

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. Dynamically loaded user control with a button doesn't fire its button click event?

All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.

I have tried to override On Row Updated in my custom control, but the breakpoint never gets hit.

I have tried to not override in control and instead use delegates like I described in ...

If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.

Leave a Reply