Gridview fired event rowupdating which wasn t handled

Handle Event(Event Args e, Boolean causes Validation, String validation Group) 477 System.

Raise Post Back Event(String event Argument) 210 System.

Description: An unhandled exception occurred during the execution of the current web request. Http Exception: The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.

gridview fired event rowupdating which wasn t handled-80

Web Controls; namespace App Management Console { public partial class _Default : Page An unhandled exception was generated during the execution of the current web request.

On Row Editing(Grid View Edit Event Args e) 1588857 System.

I have a Gridview on an ASP page bound to an SQL table.

I've configured the Grid to allow Multiple updates by replacing the default Label Controls with Template Fields using the approach described here: Bulk Updates to Rows Bound to a Grid View Everything was working fine, until I made a change to bind the Gridview query programmatically on page load (With the aim of making the Gridview display different data depending on the user currently viewing the page) as described here: Bind Gridview programmatically. Page Protected Sub Page_Load(By Val sender As Object, By Val e As System. Load If Not Is Post Back Then gvbind() End If End Sub Public Sub gvbind() Dim Sql Data Source1 As New Sql Data Source() Sql Data Source1.

Raise Post Back Event(Name Value Collection post Data) 176 System.

Having a Delete button, or even a regular button in a Grid View with a Command Name of delete, will automatically try to fire On Row Deleting.

The Grid View binds to data, and allows someone to delete a record: This event lets you tell the grid what how to do that.

This error is saying "you have asked me to delete a record, but you have not told me how." the Row Deleted is slated after the delete happens.

This error occurs when I click the Update button to update a row of record. My first take was that gridview needed on Row Updating but after adding (see markup code), still getting same error.

Tags: , ,