Access Denied Clicking On Rotator

2 posts, 0 answers
  1. Scott
    Scott avatar
    7 posts
    Member since:
    Mar 2009

    Posted 09 Mar 2009 Link to this post

    I have a rotator reading image urls from the images dir in the local website. when a user clicks the image it assigns the image url to a larger image and then updates the image by way of a RadAjax control... however what happens is that when you click the ribbon image you get an "access denied" dialog if you are not debugging and a VS debug popup if you are... here is the code block of where VS thinks the error is occuring

     

    this._onReadyStateChange = (function () {

     

     

     

    if (_this._xmlHttpRequest.readyState === 4 ) {

     

     

    try {

     

     

    if (typeof(_this._xmlHttpRequest.status) === "undefined") {

     

     

    return;

     

    }

    }

     

    catch(ex) {

     

     

    return;

     

    }

     

    _this._clearTimer();

    _this._responseAvailable =

    true;

     

     

    try {

     

    _this._webRequest.completed(Sys.EventArgs.Empty);

    }

     

    finally {

     

     

    if (_this._xmlHttpRequest != null) {

     

    _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;

    _this._xmlHttpRequest =

    null;

     

    }

    }

    }

    });


    I dont know if this is related to the rotator or the RadAjax control so i am starting here. one other post mentioned cross domain posting but i am not doing that.

    Thanks, Scott

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 10 Mar 2009 Link to this post

    Hi Scott,

    The code that you post here is not enough for us to pinpoint the exact reason for the problem. Could you please provide me with more information about you exact configuration? I need to know your RadRotator's setup and how do you get and pass the image URLs to the "larger image" and how do you update this image by using RadAjax.

    It will be best to open a support ticket and send me a simple project. Once I have a closer view over you configuration I will be able to provide a working solution.

    All the best,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top