DatePicker not opening IE7, IE8 in iframe (access is denied)

2 posts, 0 answers
  1. David Forehand
    David Forehand avatar
    2 posts
    Member since:
    Nov 2008

    Posted 03 Dec 2009 Link to this post

    I am having a problem with the DatePicker. It is not opening properly in IE7 or IE8 when accessed via an iframe. It works fine when it's not accessed via an iframe. The Javascript error I am getting is below.

    This problem does not happen in Chrome or Firefox. 
    When using Telerik version 2008.2.286.20, it only happened on IE7 and did not happen on IE8. 
    After upgrading to version 2009.3.1103, it not happens on IE7 and IE8.

    Has anyone ever seen this before?

    Error:

    Message: Access is denied.

     

    Line: 6

    Char: 73478

    Code: 0

    URI: /Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_cphSurvey_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afa29fa87-3646-4a1f-8f90-45263b4e63e9%3a16e4e7cd%3aed16cbdc%3af7645509%3a8674cba1%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e

  2. Dimo
    Admin
    Dimo avatar
    8450 posts

    Posted 08 Dec 2009 Link to this post

    Hi David,

    The error is caused by the Sys.UI.DomElement.getLocation method, which is part of the MS Ajax client framework. You options are:

    1) the main page and the iframe page should be in the same domain
    or
    2) implement the workaround suggested here


    Greetings,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top