Infragistics IFrame Creation in HTTPS--how to fix...

  • Thread starter Jason Nadrowski, PMP, MCSD, MCDBA, MCSE
  • Start date
J

Jason Nadrowski, PMP, MCSD, MCDBA, MCSE

There is an issue with the Infragistics NetAdvantage v3 WebNavigator
component when used in HTTPS. It incorrectly defaults the IFRAME to
HTTP instead of HTTPS. This has the net result of displaying the
error/informational message: "This page contains secure and non-secure
items"

The solution is to modify the src property for the IFrame in
ig_csom.js in function ig_initcsom(). You would need to insert the
following line at line 169:
transLayer.src="./";


The code will therefore look something like the following:

/*
Infragistics Common Script
Version 1.0.8
Copyright (c) 2001-2003 Infragistics, Inc. All Rights Reserved.

.. . .

function ig_initcsom()
{
// Public Properties
this.ScriptVersion ="2.0.4000.30";

.. . .

.. . .


this.createTransparentPanel=function (){
if(!this.IsIE)return null;
var transLayer=document.createElement("IFRAME");
transLayer.style.zIndex=1000;
transLayer.frameBorder="no";
transLayer.scrolling="no";
transLayer.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity=0);"
transLayer.style.visibility='hidden';
transLayer.style.position="absolute";
////////////////////////////////////////////////////
// Added by JNadrowski inorder to resolve HTTPS-IFRAME "This page
contains secure and non-secure items" issue
transLayer.src="./";
////////////////////////////////////////////////////
document.body.appendChild(transLayer);
return new ig_TransparentPanel(transLayer);
}
}

Jason Nadrowski
http://www.informationhub.com
http://www.sharepointhub.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top