Every page has an Activate event associated with it which gets fired every time the page gets activated. The page activate event is usually used for security validations that include hiding / displaying objects on the page. Say, if we want a grid to be displayed only when this page is called from a particular component then, the code for it can be written in this event.

This event is valid for Standard and Secondary pages only. It doesn’t apply for sub pages.

It is also used to achieve different kinds of processing based on different Component Builds. Say, we need the page to behave differently in Add Mode and Update Mode, we can specify it here.

Advertisements