wwWebImageButton::OnClientClick

Allows attaching of a client side JavaScript click handler that fires when the link is clicked. Use return false; to force the click to prevent navigation:

html
html
<ww:wwWebImageButton ID="lnkPunchIn" runat="server" ImageUrl="images/Punchin.gif" NavigateUrl="punchin.tt" Text="Punch In" CssClass="hoverbutton" OnClientClick="alert('hello'); return false;" />
o.OnClientClick

See also

Class wwWebButton

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic