Home > Script Error > Silverlight Webbrowser Script Error

Silverlight Webbrowser Script Error


Description {2}", e.Url, e.LineNumber, e.Description); // Ignore the error and suppress the error dialog box. Because I need to show only a pages - without much user interaction on those pages - I solve it this way. There’s little else that you can do with the WebBrowser control. But be aware that if the user hits the refresh button,this event will not be invoked again. http://ipodcorrectors.com/script-error/silverlight-webbrowser-disable-script-error.php

I kept hitting the dreaded “invalid character” error and I suspect that it’s related to this discussion which talks about the IE feature FEATURE_BLOCK_LMZ_SCRIPT which is explained here and certainly on Not the answer you're looking for? public void HideScriptErrors(WebBrowser wb, bool Hide) { FieldInfo fiComWebBrowser = typeof(WebBrowser).GetField("_axIWebBrowser2", BindingFlags.Instance | BindingFlags.NonPublic); if (fiComWebBrowser == null) return; object objComWebBrowser = fiComWebBrowser.GetValue(wb); if (objComWebBrowser == null) return; objComWebBrowser.GetType().InvokeMember("Silent", BindingFlags.SetProperty, null, Was the term "Quadrant" invented for Star Trek splitting a file with lines separated by tabs into two files I have a black eye.

C# Webbrowser Script Error

Imagine this: XWB.Silent = true; –John Peters Feb 27 '15 at 23:33 1 All the other solutions did not work for me !!! You can easily do those tasks here in WinformHost also because i have made whole applications that does bundle of things share|improve this answer answered Jun 1 '11 at 7:35 Afnan Are illegal immigrants more likely to commit crimes? Thanks a lo.

How to apply a constant function to a vector of values? I looked for another way in which I might be able to get the HTML to be loaded as a string but still be able to reference images back in the My code looks like this: var html = new StringBuilder(@" {@pageTitle}