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:10
    Tue, Jun 4, 2024
    Angular Basics: Controlling the Flow of Your Angular Templates (@if, @for, @switch)
  • 08:42
    Tue, Jun 4, 2024
    Blazor in .NET 9 Takes Shape (Preview 4 Highlights)
  • 04:21
    Mon, Jun 3, 2024
    Sands of MAUI: Issue #147
  • 07:47
    Mon, Jun 3, 2024
    React Basics: Microfrontend vs. Monorepos
  • 10:20
    Fri, May 31, 2024
    How and Why You Should Build a Strong Professional Network
  • 02:42
    Thu, May 30, 2024
    ASP.NET Core Basics: Getting Started with GraphQL
  • 07:35
    Thu, May 30, 2024
    State Management in React vs. Angular
  • 02:41
    Wed, May 29, 2024
    Blazor Basics: Child Routes & Optional Route Parameters
  • 03:19
    Tue, May 28, 2024
    Sands of MAUI: Issue #146
  • 08:05
    Tue, May 28, 2024
    Creating Progress Bars with KendoReact
  • 05:26
    Fri, May 24, 2024
    Everything You Are Missing in Angular v18
  • 09:51
    Fri, May 24, 2024
    Web Application Security: Broken Authentication vs. Session Management
  • 07:45
    Thu, May 23, 2024
    How to Create a Design Brief
  • 01:17
    Wed, May 22, 2024
    The Telerik and Kendo UI 2024 Q2 Release Is Here—See What’s New!
  • 03:08
    Tue, May 21, 2024
    The React useState Hook
    

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