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 are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
Which method is used to force all the validation controls to run?
Distinguish between Server-side and Client-side code with its functionality?
How will create assesblies at run time?
Why do we use sessions?
What is the use of session in web application?
How to implement Authentication and Authorization?
Mention few asp.net validators.
Explain Session state management options in ASP.NET.
Explain diff. Betn dataset and recordset?
Define authentication and authorization.
What is s2s tracking?
What is difference between URL and URI?
What is asp.net master page?
what is publisher?