Solving ActiveX Problem in Sharepoint
Did you get the following message will be turn-on when loading public Sharepoint sites,
The Web site wants to run the following add-on: 'Name ActiveX Control' from 'Microsoft Corporation'. If you trust the Web site and the add-on and want to allow it to run, click here...
To fix this problem, just create a js file and paste the following codes to that file,
function ProcessDefaultOnLoad(onLoadFunctionNames)
{
ProcessPNGImages();
UpdateAccessibilityUI();
for (var i=0; i < onLoadFunctionNames.length; i++)
{
var expr="if(typeof("+onLoadFunctionNames[i]+")=='function'){"+onLoadFunctionNames[i]+"();}";
eval(expr);
}
if (typeof(_spUseDefaultFocus)!="undefined")
DefaultFocus();
}
And then upload the java script file to SharePoint site. After the above process, then refer the java script file link to SharePoint master page.
Now you didn’t get any ActiveX Control problem. For more information click here
Shantha Kumar T ( MCTS )
tshanthakumar@iotap.com
Popular tags: Sharepoint
Loading, please waiting...
Comments are closed for this post, but if you have spotted an error or have additional info that you think should be in this post, feel free to contact us.