Rotator not showing any data

1 posts, 0 answers
  1. Mahadevan
    Mahadevan avatar
    1 posts
    Member since:
    Jan 2017

    Posted 27 Jan 2017 Link to this post


    I am new to this rad rotator object and I came across the following old code. The issue at hand is that when I run the page, nothing shows up in the rotator control and it is blank. I performed some debugging and I do see that there are some invisible objects but I am not able to see anything. I have connected the rotator control to a sql data source and there is data in the table but nothing is getting presented in the page. I would appreciate your help in fixing this issue.


    <telerik:RadDock ID="RadDock12" runat="server" Text="Blog" Collapsed="False"
    Title="Breaking Security"  Width="25%" Height="170">
                        <telerik:RadRotator ID="RadRotator2" runat="server" Width="100%" Height="100%"  ScrollDuration="10000" ScrollDirection="Down"
                            FrameDuration="6000" ItemHeight="170px" ItemWidth="100%" DataSourceID="Sql_Security" >
                                <table style="width: 100%; height: 140px; display:block; border:solid; margin-top:100px;" onclick="<%# DataBinder.Eval(Container.DataItem, "Info_Link")%>">
                                        <td style="vertical-align: middle; padding-right: 10px;">
                                            <%# DataBinder.Eval(Container.DataItem, "Alert_Title")%>
                                        <td style="font-size: 11px; vertical-align: middle">
                                            <%# DataBinder.Eval(Container.DataItem, "Alert_Details")%>
                                        <td style="vertical-align: middle;">
                                        <a href="<%# DataBinder.Eval(Container.DataItem, "Info_Link") %>" target="_blank">details</a>
                                            <%--<asp:Image ID="CustomerImage" runat="server" ImageAlign="Left" ImageUrl='<%# String.Format("~/Img/Northwind/Customers/Thumbs/{0}.jpg", DataBinder.Eval(Container.DataItem, "Alert_Title_Image")) %>' />--%>
                        <asp:SqlDataSource ID="Sql_Security" runat="server" ConnectionString="<%$ ConnectionStrings:OLD_Reporting_Prod_DB %>"
                            SelectCommand="SELECT TOP 1000 [Alert_Source]
                                                FROM [Reporting].[dbo].[Security_Alert_Feed]
                                                WHERE LEN(Alert_Details)>= 15 AND Info_Link != ''">
Back to Top