E
Erik Cruz
Hi.
By an accident, I found a strange behaviour from Linkbuttons I could not
understand. I put a Linkbutton inside a Repeater. For this Linkbutton I
created an onClick event, this way:
<asp:linkbutton id="lnkUpdate" onClick="RunUpdate"></asp:linkbutton>
The RunUpdate routine is in my code-behind file. When I click the Linkbutton
it runs the code on the server. Shouldn't it run a client script routine? I
noticed that a Linkbutton does not show a onServerClick event, so, onClick
will run on both server and client sides?
TIA,
Erik Cruz
By an accident, I found a strange behaviour from Linkbuttons I could not
understand. I put a Linkbutton inside a Repeater. For this Linkbutton I
created an onClick event, this way:
<asp:linkbutton id="lnkUpdate" onClick="RunUpdate"></asp:linkbutton>
The RunUpdate routine is in my code-behind file. When I click the Linkbutton
it runs the code on the server. Shouldn't it run a client script routine? I
noticed that a Linkbutton does not show a onServerClick event, so, onClick
will run on both server and client sides?
TIA,
Erik Cruz