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 t
To avoid refresh of page, if the return false is not working with asp:LinkButton use
return false
asp:LinkButton
href="javascript: void;"
or
href="#"
along with OnClientClick="return false;"
OnClientClick="return false;"
Print
Above is code will call the browser print without refresh the page.