Onrowupdating not


23-Dec-2020 17:38

I also add a Commandfield in order to be able to edit the rows.

Now when I click on Edit, I get the editable row and the two Update and cancel buttons.

The On Row Command event fires (with a Command Name of "Update") but the On Row Updating event doesn't fire.

If the columns are all visible, the On Row Updating does fire. Custom Validation Control Event Fires Twice in Grid View I have a gridview with a custom validation control in it.

btw I checked the generated HTML code for the update and cancel buttons, it seems that all the buttons have an On Click event with __do Post Back value except the update button where it's an input with type='submit' "I don't know if that would help or not :s.

Code behind:1 protected void btn Update Promotion Items_Click(object sender, Event Args e) 2 Aspx: (field in Bold is where my link button resides)1 On Row Updating event not firing in gridview with hidden columns I have an editable gridview using a standard Command Field to display edit, save, and cancel edit buttons.