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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 07:30
    Thu, Mar 13, 2025
    The Graph Database of the Future: SurrealDB
  • 03:44
    Thu, Mar 13, 2025
    React UI for Everyone (Plus: New DEV.to Challenge with $5,000 in Prizes)
  • 10:10
    Thu, Mar 13, 2025
    Coding Azure 6: Debugging and Logging an Application in an Azure App Service
  • 01:30
    Wed, Mar 12, 2025
    Unlock Powerful React UI: 50+ Enterprise-Grade KendoReact Components Now Available for Free
  • 03:45
    Tue, Mar 11, 2025
    Exploring Android Asset Packs in .NET MAUI
  • 11:09
    Tue, Mar 11, 2025
    How to Use .NET 9’s Built-in OpenAPI Support to Document Your Web API
  • 03:39
    Mon, Mar 10, 2025
    Sands of MAUI: Issue #178
  • 02:15
    Mon, Mar 10, 2025
    Improving Your Navigation Accessibility: 4 Quick Tips
  • 06:00
    Thu, Mar 6, 2025
    A Card Flip with Tailwind
  • 12:03
    Thu, Mar 6, 2025
    Coding Azure 5: Securing an Azure SQL Database to an App Service
  • 04:11
    Wed, Mar 5, 2025
    Resource Dictionaries in .NET MAUI
  • 12:36
    Wed, Mar 5, 2025
    What Does the European Accessibility Act Mean for Developers?
  • 04:12
    Tue, Mar 4, 2025
    Build a Microservice Architecture with NestJS
  • 02:10
    Tue, Mar 4, 2025
    Analyzing ML Models with ML.NET and Blazor
  • 03:48
    Mon, Mar 3, 2025
    Sands of MAUI: Issue #177
    

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