RowDeleting event fires twice for Gridview

The row deleting event fires twice when delete button is of image type. This problem will be solved if we set the button type other than image :s

If you still want to use the image for the delete action you should consider using a template field instead of using command button of image type

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s