Repeater.CreatingModelDataSource Event

Definition

Occurs when the ModelDataSource object is being created.

public event System.Web.UI.WebControls.CreatingModelDataSourceEventHandler CreatingModelDataSource;

Event Type

Remarks

The purpose of this event is to give you an opportunity to change the ModelDataSourceView instance in scenarios where you want to use a custom class that derives from the ModelDataSourceView class.

Applies to

製品 バージョン
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1