New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 03:51
    Wed, May 12, 2021
    What’s New in Telerik UI for ASP.NET AJAX R2 2021
  • 03:50
    Wed, May 12, 2021
    What’s New in Kendo UI for Angular with R2 2021
  • 03:46
    Wed, May 12, 2021
    What’s New in Kendo UI for jQuery with R2 2021
  • 03:38
    Wed, May 12, 2021
    WinForms R2 2021: New Callout Control, Color Variations for Office2019 Theme and Content Controls in RichTextEditor
  • 03:35
    Wed, May 12, 2021
    What’s New in Kendo UI for Vue with R2 2021
  • 03:31
    Wed, May 12, 2021
    What’s New in KendoReact with R2 2021
  • 03:29
    Wed, May 12, 2021
    Telerik UI for WPF R2 2021 Brings Suggested Actions, New Barcodes, Dark Themes and More
  • 03:26
    Wed, May 12, 2021
    What’s New in Telerik UI for ASP.NET MVC R2 2021
  • 03:19
    Wed, May 12, 2021
    What’s New in Telerik UI for ASP.NET Core R2 2021
  • 03:14
    Wed, May 12, 2021
    Telerik UI for WinUI R2 2021: Scheduler, ListView, Latest Project Reunion Support and More
  • 03:10
    Wed, May 12, 2021
    Telerik UI for Xamarin R2 2021: New Badge and Shadow Controls, PdfViewer Features and More
  • 03:09
    Wed, May 12, 2021
    What’s New in Telerik UI for Blazor R2 2021
  • 03:06
    Wed, May 12, 2021
    What’s New in Telerik Reporting and Telerik Report Server with R2 2021
  • 03:04
    Wed, May 12, 2021
    JustMock R2 2021: Performance Improvement, Debug Window Shows New Info, Support for .NET 6 Preview 3 and More
  • 03:03
    Wed, May 12, 2021
    The Telerik and Kendo UI R2 2021 Release is Here!
    

RadRotator has support for live XML feeds.

You can make use of this feature very easily - all you need to do is use a XmlDataSource source and set it to the URL of the live feed. Finally, you might need to set the XmlDataSource's XPath span.__group0.This way you could easily deliver public news to your site using your own formatting and styling.
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page AutoEventWireup="true" Inherits="Telerik.Web.Examples.Rotator.Functionality.LiveXML.DefaultCS"CodeFile="DefaultCS.aspx.cs" Language="C#"  %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg">
        <div class="backElement">
            <div class="titleText">
                Data streamed live from <a href="http://feeds.feedburner.com/Telerik">http://feeds.feedburner.com/Telerik</a><br />
            </div>
            <telerik:RadRotator RenderMode="Lightweight" ID="RadRotator1" Skin="Silk" RotatorType="AutomaticAdvance" ScrollDirection="Up"
                ScrollDuration="2000" runat="server" Width="493"
                ItemWidth="493" Height="192" ItemHeight="64" FrameDuration="1" InitialItemIndex="-1"
                CssClass="rotator">
                <ItemTemplate>
                    <div class="itemTemplate" style="background-image: url('images/<%# this.GetDayOfWeek(XPath("be:published", NamespaceManager).ToString()) %>.png');">
                        <div class="dateTime">
                            <div class="time">
                                <%# (this.GetTimeOnly(XPath("be:published", NamespaceManager).ToString())) %>
                            </div>
                            <div class="date">
                                <%# (this.GetDateOnly(XPath("be:published", NamespaceManager).ToString()))%>
                            </div>
                        </div>
                        <div class="title">
                            <span>
                                <%# System.Web.HttpUtility.HtmlEncode(XPath("be:title", NamespaceManager).ToString())%>
                            </span>
                        </div>
                    </div>
                </ItemTemplate>
            </telerik:RadRotator>
            <asp:Label ID="lblMessage" Visible="false" CssClass="message" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance