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!

HtmlButton.RemoveOnServerClick

Removes an event handler for the OnServerCllick event. If there are duplicate handlers, all of them will be removed.

[Visual Basic]
Overridable Public Sub RemoveOnServerClick( _
   ByVal value As EventHandler _
)
[C#]
public virtual void RemoveOnServerClick(
   EventHandler value
);
[C++]
public: virtual void RemoveOnServerClick(
   EventHandler* value
);
[JScript]
public function RemoveOnServerClick(
   value : EventHandler
);

Parameters

value
The EventHandler to be removed.

Remarks

If there are duplicate OnServerClick handlers for the specified value parameter, this method will remove all of them.

See Also

HtmlButton Class | HtmlButton Members | System.Web.UI.HtmlControls Namespace