UpdatePanel::OnPreRender Method (EventArgs^)

 

Raises the PreRender event.

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

public protected:
virtual void OnPreRender(
	EventArgs^ e
) override

Parameters

e
Type: System::EventArgs^

An EventArgs object that contains the event data.

Exception Condition
InvalidOperationException

The ChildrenAsTriggers property is set to false, and the UpdateMode property is set to Always.

The OnPreRender method is used by control developers to extend the functionality of the UpdatePanel control.

.NET Framework
Available since 3.5
Return to top
Show: