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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 08:10
    Fri, Apr 19, 2024
    Using GitHub and NextAuth.js for Single Sign-on in Next.js
  • 02:32
    Thu, Apr 18, 2024
    How to Diagnose and Repair a Slow-Loading Website
  • 07:41
    Thu, Apr 18, 2024
    ASP.NET Core Basics: Getting Started with LINQ
  • 02:53
    Wed, Apr 17, 2024
    Elevating UX in Reports: Explore the Enhancements in the Web Report Designer
  • 08:11
    Wed, Apr 17, 2024
    Apple Deployment/Distribution for .NET MAUI Apps
  • 03:04
    Tue, Apr 16, 2024
    Blazor Basics: Handling Images Dynamically
  • 08:27
    Tue, Apr 16, 2024
    How to Build a Stepper Form in KendoReact
  • 02:31
    Mon, Apr 15, 2024
    Sands of MAUI: Issue #141
  • 08:11
    Mon, Apr 15, 2024
    Build Reactive Apps with Signals, RxJS and Angular 17
  • 03:13
    Fri, Apr 12, 2024
    Client Caching in SvelteKit
  • 08:41
    Fri, Apr 12, 2024
    6 Ways to Future-Proof Your Web Design Career
  • 02:54
    Thu, Apr 11, 2024
    Beyond the Basics: Exploring the Android Manifest in .NET MAUI
  • 08:22
    Thu, Apr 11, 2024
    Do You Need a Component Library?
  • 03:13
    Wed, Apr 10, 2024
    New in .NET 8: ASP.NET Core Identity and How to Implement It
  • 07:43
    Wed, Apr 10, 2024
    QA Automation Testing—Balancing Time, Cost & Quality
    

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