How to use link button navigation to other page in asp.net

Posted by Sahoo under ASP.NET on 10/8/2012 | Points: 10 | Views : 1598 | Status : [Member] | Replies : 1
Hi

I had a link button in code behind.I want to assign a link to it let say www.google.com .So when I will click the button I will be redirected to that link(GOOGLE) in a new tab .How to achieve it?


Thanks in advance




Responses

Posted by: Self-Innovator on: 10/8/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,
try giving the redirecting page in PostBackUrl under properties of Link Button
Ex:postBackUrl=~/AutoComplete.aspx

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response