Https error: Access is denied

2 posts, 0 answers
  1. Gideon
    Gideon avatar
    7 posts
    Member since:
    Jul 2009

    Posted 11 Feb 2010 Link to this post

    Hi,

    I have a problem on my live site using radwindow resize method, on the testing server (without https) the resize is working fine, but on the live server it generates javascript error on the resize method: Access is denied.


    Click on the map picture to popup the radwindow, I've tested this case on IE, Firefox, and Google Chrome, in IE we can see the javascript error detail: Access is denied, but in Firefox and Chrome the javascript error is ignored but the resize is also not working.

    Please advise as we cannot find any solution but to turn off the resize, but this solution is not acceptable.

    Best regards,
    Omar S.
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 16 Feb 2010 Link to this post

    Hello Omar Suria,

    I examined the provided live url and I was able to reproduce the problem. However it is not related to the RadWindow but to security mechanisms and how the browsers work. Your main page is under http while the page loaded in the RadWindow is under https and the different protocols are treated as if they were different domains. This is called cross domain scripting and  it is a security feature in browsers so there isn't a way to disable it. This being said you cannot manipulate the RadWindow's content page if you do not have both the pages in the same domain and under the same protocol. More information can be found in the net, e.g the following search:

    http://www.google.bg/search?hl=bg&source=hp&q=http+https+javascript+permission+denied+iframe&meta=&aq=f&oq=&rlz=1W1WZPA_en


    Best wishes,
    Svetlina
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top