Hello ,
I'm using radticker in my form in that I need to take data from xml file but I'm getting error, FOA I'm using following XML code
<test> <test Heading="Heading One" Body="This is Body"/> <test Heading="Heasing two" Body="This is body two."/> </test>
below is what I'm using in aspx code
<telerik:RadRotator ID="RadRotator1" runat="server" ScrollDirection="Left" ScrollDuration="7000" DataSourceID="XmlDataSource1" RenderingCompatibility="3.5" Skin="Windows7"> <ItemTemplate> <telerik:RadTicker ID="RadTicker1" runat="server" AutoStart="true" LineDuration="4000" Loop="true"> <Items> <telerik:RadTickerItem Text='<%# XPath("Heading") %>'> </telerik:RadTickerItem> <telerik:RadTickerItem Text='<%# XPath("Body") %>'> </telerik:RadTickerItem> </Items> </telerik:RadTicker> </ItemTemplate> </telerik:RadRotator> <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/XMLFile.xml"> </asp:XmlDataSource>
After running this I don't get any output in browser, but if I put simple text instead of xpath.... it appears in browser tickering & rotating but not if I choose from xml file
In above code what I need to do is that firstly heading1 and body1 should ticker in first rotation and heading2 and body2 should ticker in second rotation
If anyone could provide solution for this that would be great for me I tried for this a lot but with no success till now
Plz reply
Thanks