I am rendering the visio drawing control in a webpart using the following
code in the renderwebart method:
output.Write("\n"
+ "<object classid=\"clsid:E4615FA3-23B0-4976-BD3E-D611DDBE330E\""
+ "id=\"axVisio\">\n"
+ " <param name=\"HostID\" value=\"\">\n"
+ " <param name=\"NegotiateMenus\" value=\"False\">\n"
+ " <param name=\"NegotiateToolbars\" value=\"False\">\n"
+ " <param name=\"PageSizingBehavior\" value=\"1\">\n"
+ " <param name=\"Src\" value=\"" + documentToLoad + "\">\n"
+ "</object>\n"
+ "\n");
But when i view this page the IE information bar shows "Internet Explorer has
bloked this site from using an ActiveX control in an unsafe manner. As a result,
this page may not display correctly" message. I kindly request u guys to help me
out in solving the problem.
Do you know someone who can help? Share a link to this thread on twitter, or facebook.