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

Images in rotator are not displaying

2 Answers 49 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
saratchand
Top achievements
Rank 2
saratchand asked on 20 Nov 2010, 07:44 AM
Hi,
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"
DataSourceID="SqlDataSource1">
<ItemTemplate>
<asp:Image ID="image1" runat="server" CssClass="image" ImageAlign="left" Visible="true"
ImageUrl='<%# String.Format("~/images/movies/{0}", DataBinder.Eval(Container.DataItem, "imagename")) %>' />
</ItemTemplate>
  </telerik:RadRotator>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cinema mistakesConnectionString %>"
SelectCommand="SELECT TOP 10 [imagename] FROM [movie] ORDER BY [mid] DESC"></asp:SqlDataSource>
                        </telerik:RadAjaxPanel>

pls get me out of this

2 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 23 Nov 2010, 04:36 PM
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.


Regards,
Fiko
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.
0
saratchand
Top achievements
Rank 2
answered on 24 Nov 2010, 06:54 AM
Hi Fiko,
 I had made a mistake in syntax near "image url". I rectified it and thanks for responding to my thread
Tags
Rotator
Asked by
saratchand
Top achievements
Rank 2
Answers by
Fiko
Telerik team
saratchand
Top achievements
Rank 2
Share this question
or