Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used link buttons in my website which are working properly on left click. But when I right click it and choose open in new tab, it opens a blank page with no content in it. Any solutions?

1 solution

The reason why it is not working properly because the link button needs a postback to redirect to your URL.
The simplest way to do is change the link button to a hyperlink control and set the target property to your URL in page load function on server side.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900