Images in rotator are not displaying

3 posts, 0 answers
  1. saratchand
    saratchand avatar
    12 posts
    Member since:
    Oct 2010

    Posted 20 Nov 2010 Link to this post

    I used rad rotator for rotating the latest 10 images from a folder by retrieving their names from database.
    This is working but image borders are rotating i.e., images are not displaying in the rotator

    here is my aspx code
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="120px" Width="680px">
    <telerik:RadRotator ID="RadRotator1" runat="server" Height="120px" Width="680px" ScrollDuration="500"
    ScrollDirection="Right" FrameDuration="1500" ItemWidth="120px" ItemHeight="100px" RotatorType="AutomaticAdvance"
    <asp:Image ID="image1" runat="server" CssClass="image" ImageAlign="left" Visible="true"
    ImageUrl='<%# String.Format("~/images/movies/{0}", DataBinder.Eval(Container.DataItem, "imagename")) %>' />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cinema mistakesConnectionString %>"
    SelectCommand="SELECT TOP 10 [imagename] FROM [movie] ORDER BY [mid] DESC"></asp:SqlDataSource>

    pls get me out of this
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 23 Nov 2010 Link to this post

    Hi Saratchand,

    Could you please make sure that the generated Image path is correct and points to the actual images? If the paths are correct but the rotator still does not show the images, could you please open a new support ticket and send me the project that shows the issue? I will debug it and do my best to provide a working solution as soon as possible.

    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. saratchand
    saratchand avatar
    12 posts
    Member since:
    Oct 2010

    Posted 24 Nov 2010 Link to this post

    Hi Fiko,
     I had made a mistake in syntax near "image url". I rectified it and thanks for responding to my thread
Back to Top