It looks Row Updated event will not fire unless I use a Data Source ID, which I am not. So, after clicking update, the Row Updating fires but I cannot get the Grid View to exit out of Edit Mode.
Hi, I have a gridview with some template columns and have set Autogenereate Edit Columns="True". But when I add a required field validator to one of the columns in edit item template rowupdating event is not firing. Here is a sample button: This does the same as Auto Generate buttons do.
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.
2) Is there something like Text Box without any values?
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.
(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...
Now you can ask questions directly to me on my new site ASPForums.