Support us .Net Basics C# SQL ASP.NET Aarvi MVC Slides C# Programs Subscribe Download

ASP.NET Hyperlink control - Part 13



The ASP.NET Hyperlink control is used to create a link to another Web page.

Properties:
Text - The link text that will be shown to the user

Navigate URL - The URL of the page to which the user will be sent

ImageURL - The URL of the image, that will be displayed for the link. If you specify both the Text and ImageUrl, the image will be displayed instead of the text. If for some reason, the image is not unavailable, the text will be displayed.

Target - If target is not specified, the web page to which the hyperlink is linked, will be displayed in the same window. If you set the Target to _blank, the web page will be opened in a new window.

Methods:
Focus() - Call this method to Set the input focus when the page loads.

Events:
No HyperLink control specific events



1 comment:

It would be great if you can help share these free resources