Raises the HtmlAnchor.ServerClick event. This allows you to provide a custom handler for the event.
- e
- An EventArgs that contains event data.
The HtmlAnchor.ServerClick event is raised when the System.Web.UI.HtmlControls.HtmlAnchor control is clicked. This server event causes a round trip to occur from the client to the server and back.
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The HtmlAnchor.OnServerClick(EventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.