NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlAnchor.OnServerClick

Raised on the server when a user clicks an HtmlAnchor control hyperlink on a browser.

[Visual Basic]
Overridable Protected Sub OnServerClick( _
   ByVal e As EventArgs _
)
[C#]
protected virtual void OnServerClick(
   EventArgs e
);
[C++]
protected: virtual void OnServerClick(
   EventArgs* e
);
[JScript]
protected function OnServerClick(
   e : EventArgs
);

Parameters

e
Event arguments

Remarks

This server event causes a round-trip to occur from the client.

CAUTION   This server control will raise an exception at runtime if the user attempts to wireup a OnServerClick handler and the HtmlAnchor control is not nested within a server HtmlForm control.

See Also

HtmlAnchor Class | HtmlAnchor Members | System.Web.UI.HtmlControls Namespace | HtmlForm