1 out of 4 rated this helpful - Rate this topic

WebBrowser.IsScriptEnabled Property

July 26, 2012

Enables or disables scripting. This applies to the next document that is navigated to, not the current document. This property is false by default. Set this property to true to enable scripting, or false to disable scripting.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public bool IsScriptEnabled { get; set; }
<object IsScriptEnabled="bool" .../>

Property Value

Type: System.Boolean
Returns Boolean. true if scripting is enabled; otherwise, false.

After setting this property, scripting is enabled or disabled on the next page load. The change does not affect the currently loaded document.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.