Rowupdating does not
Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.-Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post. Can you explain the T/S a little more or maybe point me to another post that may have already covered it? It's quite common that people create the data source and bind this source to the Grid View in their Page_Load() method.Hello Graham: The Data Bind() method recreates the grid hierarchy, so new values from the post data may be replaced with old values from the database. This sample will allow us to find the problem in the shortest possible time frame. Hi Kate, I stripped the page out of my project and created a web site project. Enable Rows Cache = False I get the error: A primary key field specified via the Key Field Name property is not found in the underlying data source. Please try to set the Enable View State property of the control to false. This will not run as you need other components installed on your development pc, but it does show all the aspxgridview calls. The grid seems to store cached data on the client side. Enable Rows Cache property to "false" and let me know whether or not this hint helps you. On Row Deleting - can call registered event handlers" I couldnt figure out how to continue this thread, but the issues in it are related so i'm including it as a reference.
If you would like me to strip the page down to just the aspxgridview let me know.
But for this demo, I’ll show you the simple version, that also doesn’t work 🙂Let’s bind the data to our Grid View and have it autogenerate our columns, as well as an edit button.
When we edit a row in our Grid View and press the “Update” button, at some time it’s received in the Row Updating method.
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.