Exforsys

Home arrow Technical Training arrow ASP.NET Training

ASP.NET Hyperlink Controls

Page 2 of 4
Author : Exforsys Inc.     Published on: 26th Feb 2005    |   Last Updated on: 14th Mar 2011

ASP.NET Web Forms Controls

Ads

Hyperlink Controls:

Hyperlinks controls are those controls that drink a lot of coffee and that's why they always remain Hyper. Hyperlink controls are used to link one page to the other page. If you drag and drop the hyperlink control from the toolbox to the webform your Hyperlink control will look something like this:

Hyperlink exposes many important properties. One of them is NavigateUrl. NavigateUrl is used to give the path to the next linking page. The hyperlink also exposes the property of ImageUrl which can be used to assign the image to the hyperlink. Each control also comes with a tooltip property. The tooltip property can be used to make a message appear when a user hover his mouse pointer over the hyperlink.

The available events for the hyperlink controls are given below:

public eventDataBinding (inherited from Control) Occurs when the server control binds to a data source.
public eventDisposed (inherited from Control) Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
public eventInit (inherited from Control) Occurs when the server control is initialized, which is the first step in the its lifecycle.
public eventLoad (inherited from Control) Occurs when the server control is loaded into thePage object.
public eventPreRender (inherited from Control) Occurs when the server control is about to render to its containing Page object.
public eventUnload (inherited from Control) Occurs when the server control is unloaded from memory.

Ads


 
This tutorial is part of a ASP.NET Training tutorial series. Read it from the beginning and learn yourself.

ASP.NET Training

 

Comments