This is a migrated thread and some comments may be shown as answers.

Access Denied Clicking On Rotator

1 Answer 51 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 09 Mar 2009, 03:16 PM
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

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 10 Mar 2009, 02:35 PM
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.
Tags
Rotator
Asked by
Scott
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or