Attaching action in Gridview

Giganews Newsgroups
Subject: Attaching action in Gridview
Posted by:  jrl (jrl@newsgroup.nospam)
Date: Thu, 13 Mar 2008

I have a Gridview (within an update panel), which has a CommandField in
Columns:
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />

Is it possible to attach an action to these commands?

When a user clicks on Delete, I would like to call a function that displays
an updated count of the Gridview items. I'm looking for a way to call this
function, as a consequence of deleting the row.

Thanks,

Replies