Raises the System.Web.UI.Control.DataBinding event.
- e
A System.Web.UI.WebControls.MenuEventArgs that contains the event data.
The System.Web.UI.Control.DataBinding event is raised when data is bound to the System.Web.UI.WebControls.Menu control. This method notifies the control to perform any data-binding logic that is associated with it.
The Menu.OnDataBinding(EventArgs) method allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
This method is generally used by control developers when extending the System.Web.UI.WebControls.Menu class.
Raising an event invokes the event handler through a delegate. For more information, see Events and Delegates.