skip to content »

Rowupdating how to

rowupdating how to-63

I have a Gridview with Auto Generate Columns="False".

rowupdating how to-41rowupdating how to-20

Please refer to the Dev Website Terms of Use for more information.Refresh method to re-bind the ASPx Grid View with the underlying data source and update ASPx Grid View rendering.If this does not help, please describe the issue you encountered in greater detail.Within the Item Template I have an Image Buttong with a Command Name of "Edit".This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.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.

I have set the requisite attributes in the Grid View tag.

(Note, in the gridview the Enable View State="False" - if I set it to True I get the standard "Failed to load viewstate. error) One strange thing that I've noticed that makes me think it's a View State problem is that if I change the Command Name of the Update button to "Edit" that postback event does get captured in the Row Command event...

You're accessing so many items without null checks that it could be any number of things. Are you sure all of the controls exist in the cells you're specifying?

If the values are alternated in the dictionary they are applied to the grid. The hashtable consists of the new values to be set on the row cells.

If the values are alternated in the hashtable they are applied to the grid and carried over to the data source as well.

So it only works when you use Data Source Control .