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 smpte vc-1?
What is a 401 redirect?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What are assemblies and namespaces and explain the difference between them ?
Describe the Server Control Events of ASP.NET?
What are the data controls available in asp.net?
Which asp.net objects encapsulate the state of the client and the browser?
What is the difference between session object and application object?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What are the Types of objects in ASP
What are the advantages of asp.net?
Explain the server control events of asp.net ?
What’s the difference between response .redirect and server.transfer?
What is server side routing?
Do I need to have the latest version of windows media player installed?