Raises the System.Web.UI.Control.Load event for the System.Web.UI.HtmlControls.HtmlSelect control.
- e
- A EventArgs that contains the event data.
The HtmlSelect.OnLoad(EventArgs) method notifies the System.Web.UI.HtmlControls.HtmlSelect control that it should perform actions common to each HTTP request for the page it is associated with. The HtmlSelect.OnLoad(EventArgs) method connects the System.Web.UI.HtmlControls.HtmlSelect control to the appropriate data source specified in either the HtmlSelect.DataSource property or the HtmlSelect.DataSourceID property. If the HtmlSelect.DataSourceID property is to specify the data source control that the System.Web.UI.HtmlControls.HtmlSelect control should use to retrieve its data source, then the HtmlSelect.OnDataSourceViewChanged(object, EventArgs) method is set as the event handler.