Webdatagrid rowupdating not firing
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".In my custom grid View control I cannot raise the Row Updated event.I have tried to add an event handler to the Row Updated event of my custom control but it is not called.You should create your data source once (on the user's first visit) and store it into Session for later use, and only bind the Grid View to the data source when it is necessary to do so.I would recommend trying this out and starting a new thread in the .If so, how do you know the control id if it's dynamically created?I am having the same problem, and it's not a boundfield or template field problem either as I am using both.
Right now, I have not written code for the Update event. Right now, I have not written code for the Update event. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.