I just found out something
After i click edit, i will get Update and Cancel button
When I viewsource, I get this
<input type="submit" name="GridView1$ctl07$ctl01" value="Update"
onclick="javascript
:WebForm_DoPostBackWithOptions( new
WebForm_PostBackOptions("GridView1$ctl07$ctl0 1",
"", true, "", "", false, false))" /
> <input type="button" value="Cancel"
onclick="javascript
:__doPostBack('GridView1','Canc el$5')"
Cancel Works. But Update doesnt. Why? perhaps
WebForm_DoPostBackWithOptions is not constructed properly. A Bug?
Perhaps. So when I manually execute "__doPostBack('GridView1','Update
$5')", it will call RowUpdating. Weird ! Why does this happen?
On Feb 25, 6:51*pm, nick chan <zzzxtr...@gmail.comwrote:
I just checked that even the RowCommand does not fire when clicking
update
On Feb 25, 5:45*pm, nick chan <zzzxtr...@gmail.comwrote:
Hi i run into some difficulties getting rowupdating to fire when
clicking Update link/button on gridview
I set datasource at runtime, basically a datatable
Edit and Cancel works. I don't know why RowUpdating just doesn't fire.