Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Button.OnPreRender Method

This member overrides Control.OnPreRender(EventArgs), and more complete documentation might be available in that topic.

Determines whether the button has been clicked prior to rendering on the client.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

The event data.

The OnPreRender method is used primarily by control developers when deriving a custom class from the Button control.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft