BUG: Misinformation in "PageObject Script Object" Help Topic

ID: Q190765


The information in this article applies to:


SYMPTOMS

The second paragraph of the Remarks section of the "PageObject Script Object" topic in the Visual InterDev Documentation states:

"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."
This information is incorrect. Defined properties cannot be referenced by thisPage.property.


RESOLUTION

Defined properties can only be referenced through the getProperty and setProperty methods of the PageObject.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

For example, to set a property named "MyProp" (javascript):


thisPage.setMyProp("desiredValue"); 
To retrieve the value of a property named "MyProp" (javascript):

myVar = thisPage.getMyProp(); 

Additional query words:


Keywords          : kbVisID600 kbVisID600bug kbGrpASP 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 24, 1999