Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have a web application which launches a windows application using Citrix server.
Windows application has a webbrowser control.
When windows application is launched stand alone on Citrix server, web site opens in webbrowser control with no problem.
But when it is launched through my web application, the webbrowser control does not load the javascript. It shows content blocked error. It does not fire any event and show message on web page as
"Note: Since your browser does not support javascript you must press the Continue button once to proceed
"


What I have tried:

I enabled the scripting on Internet Explorer on Citrix server.
Added my application url in trusted site.
But none of the above worked for me.
Posted
Updated 23-Jan-17 3:44am
Comments
gggustafson 29-Dec-16 13:01pm    
Have you looked at http://stackoverflow.com/questions/14040216/how-to-enable-javascript-in-web-browser-control-in-windows-form-in-c

1 solution

I created a group policy and entered the sites in trusted zone which I am accessing through WebBrowser control.
Now it works fine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900