NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpBrowserCapabilities.JavaScript

Indicates whether the client browser supports JavaScript.

[Visual Basic]
Overridable Public ReadOnly Property JavaScript As Boolean
[C#]
public bool JavaScript {virtual get;}
[C++]
public: __property virtual bool get_JavaScript();
[JScript]
public function get JavaScript() : Boolean;

Property Value

true if browser client supports Java script; otherwise, false. Default value is false.

Example [Visual Basic]

[Visual Basic]

<%
' This example performs some action only if the client browser
' supports Java script.
If Request.Browser.JavaScript = True Then
   ...
End If
%>

See Also

HttpBrowserCapabilities Class | HttpBrowserCapabilities Members | System.Web Namespace