This page contains both secure and nonsecure items

M

Mantorok

Hi all

This has been driving me nuts for months now, if I access my site from IE
https://db.cornwall.gov.uk/PlanningApplications and then hover over one of
the 2-level menus it comes up with the message:

"This page contains both secure and nonsecure items. Do you want to display
the nonsecure items?"

I've confirmed that there are "no" nonsecure items on this site, it works ok
from Firefox but not IE.

Can someone have a look at the site and see if they get the same problem -
it's been driving me crazy - and why does it only come up when hovering over
the menu item?

Thanks all
Kev
 
K

Karl Seguin [MVP]

You'll find all the answers you need at:
http://blogs.msdn.com/jorman/archive/2006/02/06/526087.aspx

it's because the popup is loaded into a non-secure iframe. A solution is
provided at the link above, but for the sake of posterity:

<script runat="server">
protected override void Render(HtmlTextWriter writer)
{
Page.ClientScript.RegisterStartupScript(typeof(Page),
"MenuHttpsWorkaround", Menu1.ClientID +
"_Data.iframeUrl='https://myserver/someblankpage.htm';", true);
base.Render(writer);
}
</script>
 

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,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top