Hi Folks,
I had previously set up my RadRotator using a DataSource with a bound ImageURL to server path to image files. This was working fine up until last night when our Windows update went live. I presume it's done something with IE11 (our default browser) as the images for the rotator are now not showing.
The rotator itself loads; the buttons are visible. Just no images.
When loading the webpage under Chrome, Firefox or Edge, it still works correctly.
Does anyone know specifically what has happened to stop the images loading, and what I'll need to do to fix this? I'm guessing it might have something to do with security around either the database or loading images directly from a server path.
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TransformationRotator.ascx.cs" Inherits="PNCCPortal.UI.NewsModules.TransformationRotator" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
script
type
=
"text/javascript"
>
function OnClientLoad(rotator, args)
{
if (!rotator.autoIntervalID)
{
rotator.autoIntervalID = window.setInterval(function ()
{
rotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
}, rotator.get_frameDuration());
}
}
</
script
>
<
telerik:RadRotator
RenderMode
=
"Lightweight"
Width
=
"1963px"
Height
=
"450px"
ItemWidth
=
"1903px"
ItemHeight
=
"450px"
ID
=
"rotTransformation"
runat
=
"server"
RotatorType
=
"Buttons"
DataSourceID
=
"dsTransformation"
Style
=
"margin: -5px 0 0 -388px"
FrameDuration
=
"20000"
OnClientLoad
=
"OnClientLoad"
>
<
ItemTemplate
>
<
a
href='<%# DataBinder.Eval(Container.DataItem, "URLLink") %>'>
<
asp:Image
runat
=
"server"
ID
=
"MarqueeImage"
ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImagePath") %>' />
</
a
>
</
ItemTemplate
>
</
telerik:RadRotator
>
<
asp:SqlDataSource
ID
=
"dsTransformation"
runat
=
"server"
ConnectionString
=
"server=XXXX;UID=XXXX;PWD=XXXX;database=XXXX"
SelectCommand="select
*
from
PNCC_MOJO_TransformationMarqeeImage
where
Active
=
1
"></
asp:SqlDataSource
>