| ||||||||||||||||||||||||||||||||
HtmlAnchor ClassSystem.Web.UI.HtmlControls Namespace Allows programmatic access to the HTML <a> element on the server.
|
||||||||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | OnServerClick | ( EventArgs e ) | Void |
| protected | RaisePostBackEvent | ( String eventArgument ) | Void |
| protected | RenderAttributes | ( HtmlTextWriter writer ) | Void |
| Multicast | Name | Type |
|---|---|---|
| multicast | ServerClick | EventHandler |
There are two ways to use the HtmlAnchor class. The first is for navigation, and the second is for responding to postback events.
For navigation, the <a> element requires either the:
Both text and images can be included within the <a> element used as a hyperlink.
When used for postback events, a method must be defined for the ServerClick event to programmatically handle the user's click on a link.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlAnchor in ASP.NET Syntax for HTML Controls.
Hyperlink HtmlContainerControl
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme