Solving ActiveX Problem in SharePoint
Did you get the following message will be a 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 javascript file to SharePoint site. After the above process, then refer the javascript file link to SharePoint master page.
Now you didn’t get any ActiveX Control problem. For more information Email us.
Shantha Kumar T ( MCTS )
[email protected]