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 client-side scripting?
Why do we use datasource in asp.net?
What is semantic gap?
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
How can we create pie chart in asp.net?
Please brief not about xsd,xslt & xml?
What's the difference between viewstate and sessionstate?
How to use a Master Database in Asp.net?
How to set the pane area to transparent of a scrollPane component.?
What is asp.net and ado net?
What threading model used in asp and asp.net?
Explain how asp.net different from asp?
What is server components?
Where sessions are stored?
What is the use of the tag in the web.config file?