Asp net gridview onrowupdating not firing
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.
I tend to use business objects in my applications so using the standard data controls doesn't work very well, nor would it really buy much in terms of abstraction.
In my code I tend to write the databinding logic as part of the page logic which usually is just a couple of lines of code.
I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.
Within the Item Template I have an Image Buttong with a Command Name of "Edit".
One has it's Command Name = "Update" and the other "Cancel".
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.I don't know about you, but I cringe every time I need to create a Grid View based layout that needs to create a few custom link handlers off that grid.The typical scenario might be a list where you can toggle certain options or where you can fire an operation that otherwise updates the data that's underlying the grid.All was workin fine b4 I added the Update Panel and Content Template.The Script Manager is in the Master Page Please help me....