I am trying to redirect another site on button click.
Answer Posted / anju
Hi Anjani, there is a mistake in answer is that the link button control doesn't contain the NavigateUrl property but we do this task by doing this in the linkbutton control source view is:
<asp:LinkButton ID="lnkbtn" runat="server" OnClick="lnkbtn_Click" OnCommand="link"><a href="http://www.google.com">Link</a></asp:LinkButton>
</div>
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is mvc in asp.net tutorial? : Asp.Net MVC
What is difference between view and partial view?
Explain about the .NET framework?
What is the usie of activex control in .net?
Explain diff between dataset and datareader?
How does viewstate work?
What is a web based system?
Explain how is a property designated as read-only?
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?
Why is asp.net so popular?
What are Caching techniques in .NET
Explain the components of web form in asp.net
Is it right that ASP.NET Web API has replaced WCF?
What are the asp.net 2.0 features?
What is http protocol and how it works?