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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 02:03
    Thu, Feb 20, 2025
    Blazor Basics: Lazy Load Assemblies to Boost the Performance of Blazor WebAssembly
  • 12:13
    Wed, Feb 19, 2025
    Design for the Operator: How UX Design Can Improve Decisions in High-Stakes Environments
  • 04:25
    Tue, Feb 18, 2025
    Welcome Progress Champions for 2025
  • 11:21
    Tue, Feb 18, 2025
    10 Essential ASP.NET Core Features to Remember
  • 03:54
    Mon, Feb 17, 2025
    Sands of MAUI: Issue #175
  • 11:27
    Mon, Feb 17, 2025
    Angular Basics: DevTools
  • 11:11
    Thu, Feb 13, 2025
    Coding Azure 3: Creating an App Service for a Web Service
  • 09:21
    Wed, Feb 12, 2025
    Splash Screen in .NET MAUI
  • 02:53
    Wed, Feb 12, 2025
    The Telerik and Kendo UI 2025 Q1 Release Is Here—See What’s New!
  • 02:52
    Wed, Feb 12, 2025
    License Key Files in Telerik and Kendo UI Products 2025 Update
  • 04:09
    Tue, Feb 11, 2025
    Integrating GraphQL into Blazor
  • 12:22
    Tue, Feb 11, 2025
    UX Crash Course: Running Critiques
  • 03:22
    Mon, Feb 10, 2025
    Sands of MAUI: Issue #174
  • 02:11
    Mon, Feb 10, 2025
    Using Angular in a Windows Forms Application
  • 02:42
    Fri, Feb 7, 2025
    Recap: What’s New in .NET MAUI in .NET 9?
    

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.
  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • styles.css
<%@ Page AutoEventWireup="true" Inherits="Telerik.Web.Examples.Rotator.Functionality.LiveXML.DefaultVB"CodeFile="DefaultVB.aspx.vb" Language="vb"  %>

<!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/<%# GetDayOfWeek(XPath("be:published", NamespaceManager).ToString()) %>.png');">
                        <div class="dateTime">
                            <div class="time">
                                <%# (GetTimeOnly(XPath("be:published", NamespaceManager).ToString())) %>
                            </div>
                            <div class="date">
                                <%# (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