Text) but i am getting all the old values stored in the gridview when the grid was loaded , kindly suggest.Adapt to match the actual type.) Also note that values for Read Only fields will not make it into these Dictionaries.I have set the requisite attributes in the Grid View tag.
And I do have the update panel Update MOde set to Conditional, as I think it should be.This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.After it has been clicked the postback places that row in edit mode. At this point in time the above Edit Item Template is displayed with two Image Buttons within it. My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.When all you've got is a Hammer, Every Problem looks like a Nail. Since you are already getting a Row Updating event, I'll work from there.To get both the old and the new value of a field named unit_price, (for the example as a String. 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".Though I don't see how the Async Post Back Trigger helps me, since the trigger I'm using is already inside the Update Panel.And, more to the point, the whole Update Panel process is working as expected.New Values,this is equal to Nothing, I Bind it to List object.I've tried not to bind the grid in Row Updating event,but then the editing row does not close and the row is not being updated.