Share via


Visual InterDev

                           

A script object that allows you to handle the ASP page as an object. It provides the framework for exposing scriptable methods, properties, and events on an ASP page.

Remarks

At design time, you can use the PageObject design-time control for publishing methods and properties on a page and for making references to other pages. The PageObject control has custom property pages that make it easier to control the behavior of the PageObject object.

The PageObject design-time control supports additional properties that you can define on the Properties tab of the PageObject Property Pages dialog box. Each defined property can be referenced by thisPage.property.

When the PageObject control is used to publish a property, a pair of methods called getpropertyname and setpropertyname will be added to the thisPage object to simplify accessing the property. These methods can be used in place of the getState and setState methods. For details, see getProperty and setProperty.

The current page object can be referred to by thisPage or by name. When using the design-time control, the name is specified by Page Object name in the References tab of the PageObject Property Pages dialog box.

PageObject script objects can have two child objects, navigate and execute.

For information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.