Asp net gridview rowupdating not firing dating advice short man
But as I noted in the comments in that method, some collections that should contain the columns (names, old values and new values) are always empty. And the Row Updated method is never even touched!!! NET Forums that I need to use a Data Source control.For example a Sql Data Source, which is automatically added to your Web Form if you drag-n-drop your way around Visual Studio 2005.Hi, I create a Gridview dynamically binding a Datatable as a datasource.I create event handlers for the Row Editing, Row Updating and Row Cancelling Edit events.
So you can see what will happen if you set text value in that cell.However wen I click on Update nothin happens, currently it isn't connected to the database I just want it to change the text of a button so I know the update works.All was workin fine b4 I added the Update Panel and Content Template.A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions.