PageMessage Property (.NET)

 

Type: String

 

This property is used to display a message in the user's browser while the extended properties are detected. This is helpful for letting the user know to please wait while the test is performed. In many cases the test is performed so quickly that the message may only appear for a fraction of a second. However if you are testing a lot of properties or time intensive properties (such as connection speed) there could be a delay of several seconds, depending on their computer and settings.

 

This property defaults to "Now determining extended properties of this browser, please wait..." so this message is displayed during extended property tests if you do not set this property. To suppress this message so that nothing is displayed in the browser window during the test, set this property to "".

 

Tip: You can also set this property to HTML if you wish to display a temporary page or more advanced formatting.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("JavaScriptEnabled");

options.PageMessage = "&nbsp;<font color=blue>Please wait…</font>";

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

JavaScriptEnabled: <% Response.Write(extBrow.JavaScriptEnabled); %>

</html>

 

See Also:

BodyTag Property (.NET)

PageTitle Property (.NET)

HeadData Property (.NET)