Hi,
I'm having a problem populating my Rad Rotator using the traditional way of using a datasource in the ASP side of the code, this is what my code looks like.
Any advice will be greatly appreciated.
I'm having a problem populating my Rad Rotator using the traditional way of using a datasource in the ASP side of the code, this is what my code looks like.
| <telerik:RadRotator runat="server" ID="RadRotator1" RotatorType="AutomaticAdvance" ScrollDirection="Up" FrameDuration="7000" |
| DataSourceID="SqlDataSource1"> |
| <Items> |
| <telerik:RadRotatorItem> |
| <ItemTemplate> |
| <asp:Image ID="imgAdBanner" runat="server" ImageUrl='<%# "~/ImageFilePath/" & Eval("ImageName") %>' NavigateUrl='<%# Eval("LinkUrl") %>' AlternateText='<%# Eval("AltText") %>' /> |
| </ItemTemplate> |
| </telerik:RadRotatorItem> |
| </Items> |
| </telerik:RadRotator> |
| <asp:SqlDataSource runat="server" ID="SqlDataSource1" |
| ConnectionString="<%$ ConnectionStrings : CS %>" |
| SelectCommand="SELECT ImageName, LinkUrl, AltText FROM RotatorImages"> |
| </asp:SqlDataSource> |
Any advice will be greatly appreciated.