Fired event rowupdating
Can any one suggest me how I can get rowupdating event to fire in such a condition? Also You might have missnamed the control to validate for the required fieldvalidatore. If it does not solve the problem show us ur code so that we can help better In case of client side validations postback itself should not happen. In my case post back is happening and all other events including rowcommand event is firing with the command name as update. 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. Instead of having Auto Generated Edit button, you can manually use Link Buttons. It might be because the field is empty which is causing client side validations. Can any one suggest me how I can get rowupdating event to fire in such a condition? As you've insert a validation control, if fires the validation when you click on edit.
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 you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.
I'm having a very hard time understand what would prevent your event from being fired.
I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.