/// <summary> /// To return a string to c#, simple invoke the csharp(str) method. /// </summary> private void OnNavigationComplete(NavigationCompletedDelegate eventObj) { Debug.WriteLine(string.Format("Navigation has been commited: {0}", eventObj.Uri)); }
/// <summary> /// To return a string to c#, simple invoke the csharp(str) method. /// </summary> private void OnNavigationComplete(NavigationCompletedDelegate eventObj) { Debug.WriteLine(string.Format("Load Complete: {0}", eventObj.Sender.Uri)); eventObj.Sender.InjectJavascript("csharp('Testing');"); eventObj.Sender.InjectJavascript("alert('Demonstration Alert');"); }