Gridview rowupdating does not fire

Please start debugging, on the page right click your mouse, choose "View Source" and in the notepad find the "Update" button (rendered as ), then paste it here.In addition please check whether other code may cause this problem. It seems the Validation control in Edit Item Template and the built in "Update" button can not cooperate properly.I'm looping because I want to find all the textboxes in the row upon Row Created, and add the javascript attributes to those textboxes.The txt Formula is a textbox not listed here, but it's a textbox at the top of the screen, and not part of the gridview.You will notice that I remove the "Update" and add my own Link Button in the same place the Update link was. Row Index)); The "Update$" would call the "Update" method for the Grid View.

I have tried to add an event handler to the Row Updated event of my custom control but it is not called.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 ...The simpleset way is to test it in a new project, removing other irrelevant code. A simple workaround would be to use Template Field to create a new "Update" Button.Something like: Hi, I added the button like you suggested, but it didn't work either.

Leave a Reply