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="javasc ript:WebForm_Do PostBackWithOpt ions(new
WebForm_PostBac kOptions(" GridView1$ctl07 $ctl01",
"" , true, "" , "" , false, false))" /
> <input type="button" value="Cancel"
onclick="javasc ript:__doPostBa ck('GridView1', 'Cancel$5')"
Cancel Works. But Update doesnt. Why? perhaps
WebForm_DoPostB ackWithOptions is not constructed properly. A Bug?
Perhaps. So when I manually execute "__doPostBack(' GridView1','Upd ate
$5')", it will call RowUpdating. Weird ! Why does this happen?
On Feb 25, 6:51*pm, nick chan <zzzxtr...@gmai l.comwrote:
I just checked that even the RowCommand does not fire when clicking
update
On Feb 25, 5:45*pm, nick chan <zzzxtr...@gmai l.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.