Wpf Web Browser unable to access the embedded .js file.
Hi,
I have a simple wpf application in which I am using web browser to open a html file.html file is embedded resource and html file has some .js files included at the header.Those .js files are also embedded resource.The problem is that when I open that html file,html file is getting opened but throughing javascript error for that .js files..
here is the code I used for browser navigation :
MainBrowser.NavigateToStream(System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceStream("WpfWebBrowserSample.ProductQtyByYear.html"));
Code for including .js files in html
<script src="jquery.min.js" type="text/javascript"></script>
Kindly help me in solving this issue.
Thanks in advance.