I am trying to determine why a Rad Rotator on one of our pages has stopped displaying it's items. When the page loads, it should display an image but no longer does. I can see in the source that the images are there, but hidden. I noticed that our javascript that tries to change to the next item is getting null for the rotator:
for the rotator declared:
In the script above $find returns null. I'm not sure what's going on.
What is really confusing is this page belongs to an internal SharePoint extranet site. This site is extended to a public internet site. On the internal site, the rotator works. It's only not working on the external site. If you're not familiar with this model, the sites have their own configuration and IIS application, but both serve the exact same page. So I don't believe it's anything to do with the script above or the declaration of the rotator control.
function showNextItem(dir) {
var oRotator = $find('<%= RadRotator1.ClientID %>');
if (dir == 0) {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right);
}
else {
oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
}
}
for the rotator declared:
<
tr:RadRotator
ID
=
"RadRotator1"
runat
=
"server"
...>
In the script above $find returns null. I'm not sure what's going on.
What is really confusing is this page belongs to an internal SharePoint extranet site. This site is extended to a public internet site. On the internal site, the rotator works. It's only not working on the external site. If you're not familiar with this model, the sites have their own configuration and IIS application, but both serve the exact same page. So I don't believe it's anything to do with the script above or the declaration of the rotator control.