Asp gridview rowupdating not firing
Also, I don't want entire rows to be saved to the database .. I don't want to show the edit label also I don't want to click on this edit button .. And I need to click the edit button to edit the row... And again if I am using this edit button is it possible to edit only the selected columns . Just follow the links that i've posted in my previous post on how to edit rows in Grid View.I don't want to show the edit label also I don't want to click on this edit In windows application programming it is possible .. Heres what I am trying to do: I'm creating a Account page that has a accordion called Acc Act Services, the panes inside of the accordion are dynamically created at runtime in with description of service and a gridview(that is also dynamically created) that details license key data from SQL server.The columns are : 1 Edit Command Field, and 3 other Boundfields.Here is some needed bits of the code: Alternating Row Style-Css Class="grid Item" Header Style-Css Class="grid Head ms-alternating" Auto Generate Columns="False" Alternating Row Style-Font-Bold = "true" Row Style-Font-Bold="true" Data Key Names="Request Detail Inventory Item ID" On Row Deleting="grd Inventory_Row Deleting" On Row Canceling Edit="grd Inventory_Row Canceling Edit" On Row Editing="grd Inventory_Row Editing" On Row Updating="grd Inventory_Row Updating" Auto Generate Edit Button="true" Auto Generate Delete Button="true" Codebehind: protected void grd Inventory_Row Editing(object sender, Grid View Edit Event Args e) protected void grd Inventory_Row Canceling Edit(object sender, Grid View Cancel Edit Event Args e) protected void grd Inventory_Row Updating(object sender, Grid View Update Event Args e) protected void grd Inventory_Row Deleting(object sender, Grid View Delete Event Args e) protected void Reload Inventory Grid() Thanks for your help!I had a similar problem: I have a grid that gets bound to a (collection) property of an item in a detailsview.
Data Field = "Activity Hours"; bfld Activity Hours. When all you've got is a Hammer, Every Problem looks like a Nail. I'm manually wiring up a Grid View control in my app, but the Row Updating doesn't fire when clicking Update. It's as if the Grid View thinks the first link button in the row that was clicked, "Update", is actually "Edit", which is also the first control in the row.Basically, it doesn't remember that it's in edit mode.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.Sorry i know i'm posting a lot of comments on my own question.