DynamicHyperLink.OnPreRender Method (EventArgs)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the PreRender event.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

protected override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

The event data.

Exception Condition
InvalidOperationException

The DynamicHyperLink object cannot determine the data table to link to.

This method notifies a DynamicHyperLink control that it should perform any necessary pre-rendering steps before the control saves view state and renders content.

.NET Framework
Available since 4.0
Return to top
Show: