Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question CalendarPopup.htc not showing in IE7 (sometimes)?

    I've been asked to look at a problem with a calendar control on a content driven website we maintain.

    Here's the code from the top of the page when it is included.

    Code:
    html xmlns:astutemedia>
    <head>
      <?import namespace="astutemedia" implementation="../../../includes/clientside/calendar/CalendarPopup.htc">
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    We have 2 servers, one is for live usages by our clients and the other is for testing by ourselves.

    The problem is that on the test box this control works in IE6 and IE7 but on the live box, the control works in IE6 and not in IE7. What happens in IE7 is a box appears with a red x in the corner (like that of a missing image). I managed to get the source from this but all that's displayed is

    Code:
    <html><body></body></html>
    Should I be looking at IIS settings or is there some specific reason IE7 won't display on one but will on the other?

    Many thanks for any suggestions in advance.

  • #2
    New to the CF scene
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Mystery Solved, sadly problem isn't.

    IE7 apparently doesn't allow scriptlets to work by default when the site you're visiting is part of the internet security zone. It does however when accessing sites on the intranet zone (hence why our test box works).

    The calendarpopup.htc encapsulates the calendar.htc file and using the calendar.htm file as it's content source. It using 'text/x-scriptlet' as the mime type so you need scriptlets enabled to use it. IE6 apparently uses this still and it's being phased out as of IE7.

    Anyway, the shortterm fix is

    Go to Tools -> IE Options -> Click on Internet Zone -> custom level... button -> Scroll down to ActiveX controls and Plugins -> Turn 'Allow Scriptlets' to enable.

    Our problem is telling 4000+ plus users to change this so it unforunately doesn't help us. I hope the above information helps someone else.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •