all of the other events are firing except the Row Updating event..
it is also binded in code behind to s data table (generated on the fly) .
In my custom grid View control I cannot raise the Row Updated event.
I have tried to add an event handler to the Row Updated event of my custom control but it is not called.
The edit link would put the gridview in edit mode, cancel would work but the Row Updating event just did not fire.
I searched the forums and found mainly unanswered questions.
) to manipulate the Page and Form control collections in this way?
I've written a quick tutorial on my blog: am having somewhat of a challenge though. Can anyone offer help, or have you seen the problem yourself? The comments are in there to illustrate the problems I'm having. Drop a Grid View on the page, set the Auto Generate Edit button to true and paste the rest of the code here over the contets of the cs code-beside page.
When I take a standard Grid View, bind it to a Data Table and dynamically wrap it in an Update Panel at run-time, the Row Updating event stops firing my handler.
You could expose security holes or corrupt your own data using general exception handling like this.
Also i noticed one thing if i Auto Generate the Columns All events are fired without any problems but if i use Template Field only Edit Event is fired that is only once.
Even comments about manipulating the page controls collection from within a custom control on the page - am I breaking best practice here? Then When i add new row or column at runtime ,then that newly add cell also contain control. good day to all, i'm also having the problem of the Grid View1_Row Updating event not firing... the gridview is inside an update panel and the columns are generated in code behind...