Form.Activate Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a form becomes active. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
event EventHandler ^ Activate;
public event EventHandler Activate;
member this.Activate : EventHandler
Public Custom Event Activate As EventHandler
Event Type
Remarks
The Activate event occurs under the following circumstances:
When a page is first requested, the first form is activated.
When the ActiveForm property of the page is set programmatically.
When the user navigates to a form through a Link control whose target is a form.
This event's position in the event chain makes it very important for binding child controls to data sources or for setting a form property that can be inherited by all child controls.