Gridview rowupdating event not handled Female bodybuilders hookup
So when we use these special key words as the Command Name for the buttons in the Grid View, they automatically invoke the built in functionality of the Grid View when we click on the button.
As our code does not handle those events hence they throw an exception.
Somebody Help me :( i've also tried adding this code ``On Row Deleting = "Pending Records Gridview_Row Deleting" but no success!
" Insert Command="INSERT INTO [Pending Records] ([Username], [Password], [First Name], [Last Name], [Middle Name], [Address], [Gender], [Contact Number], [Plate Number], [Color], [Brand], [Liscensed Number]) VALUES (?
)" Update Command="UPDATE [Pending Records] SET [Username] = ?
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.
I have tried to add an event handler to the Row Updated event of my custom control but it is not called.