Asp net gridview rowupdating event not firing Chat with people who have k9 sex

Hi all, I can't seem to find a post relating to the Row Updated event not firing. i ve written code like this Drop Down List ddl1= (Drop Down List)grd Validations. I've tried Image Button (which has known issues), Link Button, and just plain old vanilla Button. I know this happens after an update command happens on the database, but I want to write my own custom update. When clicking on either of these controls, my break point is never hit in the event method. On postback the onservervalidate event fires twice EVERY TIME! I have duplicated this problem on multiple computers and it can be easly duplicated by placing a custom validator into a simple gridview. There is nothing else on the page, the onservervalidate control is not being called more than once and the autoeventwireup is set to false.2) Is there something like Text Box without any values?

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. The grid_Row Updating event is fired (the 'update' link is a Link Button whose Command Name is set to "Update"). Custom Validation Control Event Fires Twice in Grid View I have a gridview with a custom validation control in it. The user enters data and clicks the 'update' link. When the user clicks an 'edit' link on the row, the user control then goes into edit mode where two Text Boxes are displayed. I have a Grid View that I'm databinding to custom objects. When not in edit mode, the user control displays read only values.

Leave a Reply