Specifies whether the browser has just navigated to the Active Server Page (ASP) or the page is being processed as a result of a round-trip to the server to post a form. Read-only at run time.
Syntax
thisPage.firstEntered
Remarks
This property contains a Boolean value. If the ASP page is being processed due to the browser navigating to the page (HTTP GET), firstEntered is true. If it is being processed due to a round-trip to the server to post a form (HTTP POST), firstEntered is false.
It is useful to use this property with the PageObject object's onenter event to determine whether it is necessary to assign initial values to properties.
Example
This following script initializes a checkbox value.
<SCRIPT RUNAT=SERVER LANGUAGE=JSCRIPT>
function thisPage_onenter()
{
if (thisPage.firstEntered)
Checkbox1.setChecked(true);
}
</SCRIPT>