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
Explain the difference between overriding and overloading?
How do sessions work?
Can master pages be nested?
Which is better viewstate or session?
Is asp.net mvc still used? : Asp.Net MVC
What is the difference between “Web.config” and “Machine.Config”?
What is http pipeline in asp.net?
What do you mean by authorization?
How can exception be handled with out the use of try catch?
Explain diff between dataset and datareader?
Can any body provide me the sample web application in asp.net
What are the asp.net security controls?
What is the difference between typeof() vs gettype()?
Can you nest updatepanel within each other?
Why we use asp.net for website development?