I am trying to redirect another site on button click.
Answer Posted / gopakumar
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"><a
href="http://www.google.com">Link</a></asp:LinkButton>
</div>
The OnCommand="link" is not needed.
<asp:LinkButton ID="lnkbtn" OnClick="lnkbtn_Click"
runat="server" >
<a href="http://www.google.com">Link</a>
</asp:LinkButton>
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
Which .NET framework supports Web API?
Do session use cookies in asp net?
Which is better session or viewstate?
What is the file through which you can customize your asp.net application?
What is the difference between user control an custom control?
8. Why do you want to work here?
How do you implement postback with a text box?
How ViewstateMac works?
What are cao and sao.
Explain the difference between Web Garden and Web Farm?
How many types of controls are there in asp.net?
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5
Is asp.net mvc front end or backend? : Asp.Net MVC
What is the difference between session and application?