The behavior I saw is illustrated by the following images. When I mouse over the generated links, at the base of the page I can see the javascript function that would be called. (note that the update command is missing).

My workaround is to perform the same doPostBack function call as the generated links performed.

Here is the code:

JAVASCRIPT

var gvUniqueId; // we need the ctl00$ControlPlaceHolder1$gvQueries string for the gridview

gvUniqueId = '<%=gvQueries.UniqueID %> ' ;

var cmd;

function handle_gvUpdate(rowid) {

cmd = 'Update$' + rowid;

__doPostBack(gvUniqueId, cmd);

}

function handle_gvEdit(rowid) {

cmd = 'Edit$' + rowid;

__doPostBack(gvUniqueId, cmd);

}

function handle_gvCancel(rowid) {

cmd = 'Cancel$' + rowid;

__doPostBack(gvUniqueId, cmd);

}

ASPX PAGE

<asp:GridViewID="gvQueries"runat="server"NOTA BENE: if you have problems pasting any of this code, contact me and I’ll send you the exact script. It’s difficult for me to paste asp.net code into wordpress.