Redigera

Dela via


ModelErrorMessage.OnPreRender(EventArgs) Method

Definition

Raises the PreRender event of the base class and specifies additional processing.

protected public:
 override void OnPreRender(EventArgs ^ e);
protected internal override void OnPreRender (EventArgs e);
override this.OnPreRender : EventArgs -> unit
Protected Friend Overrides Sub OnPreRender (e As EventArgs)

Parameters

e
EventArgs

The event arguments.

Remarks

If there is an error, this method HTML-encodes the error message, and it sets the focus to the associated control if the SetFocusOnError property is true.

Applies to