Disable the postback on an <ASP:LinkButton>

Posted by y0mbo on Stack Overflow See other posts from Stack Overflow or by y0mbo
Published on 2008-10-07T00:41:48Z Indexed on 2010/05/08 18:28 UTC
Read the original article Hit count: 246

Filed under:
|

I have an ASP.NET linkbutton control on my form. I would like to use it for javascript on the client side and prevent it from posting back to the server. (I'd like to use the linkbutton control so I can skin it and disable it in some cases, so a straight up tag is not preferred).

How do I prevent it from posting back to the server?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asplinkbutton