WebBrowser.ScriptNotify Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when JavaScript calls the window.external.notify(<data>) method.

Namespace: Microsoft.Phone.Controls
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Event ScriptNotify As EventHandler(Of NotifyEventArgs)
public event EventHandler<NotifyEventArgs> ScriptNotify
<object ScriptNotify="EventHandler<NotifyEventArgs>" .../>

Remarks

In the Windows Phone 8.1 WebBrowser control, the ScriptNotify event has changed to be an asynchronous event. It was previously a synchronous event in Windows Phone 8 Silverlight apps. If a Windows Phone 8 Silverlight app is run on Windows Phone 8.1, the behavior change in ScriptNotify from synchronous to asynchronous will cause apps to execute differently.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

WebBrowser Class

Microsoft.Phone.Controls Namespace