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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 05:10
    Tue, Oct 29, 2024
    Deep Dive into the New .NET MAUI Blazor Hybrid and Web App Solution Template
  • 08:14
    Tue, Oct 29, 2024
    ‘How Do I Build That?’: 5 Telerik UI for ASP.NET Core Components That Simply Do the Job
  • 03:25
    Mon, Oct 28, 2024
    Sands of MAUI: Issue #165
  • 02:49
    Mon, Oct 28, 2024
    The True Story of the Headless Horseman
  • 08:56
    Mon, Oct 28, 2024
    How to Manage Composition API Refs in Vue 3 When Unit Testing
  • 09:24
    Fri, Oct 25, 2024
    An Introduction to Astro—A Web Framework for Content-Driven Websites
  • 02:16
    Thu, Oct 24, 2024
    The Top 5 Debugging Issues to Solve with Fiddler Everywhere
  • 08:21
    Thu, Oct 24, 2024
    Getting Started with .NET MAUI AI Prompt Control
  • 02:02
    Wed, Oct 23, 2024
    UX Crash Course: Mental Models and Cognitive Load
  • 08:36
    Wed, Oct 23, 2024
    Validation Without Tears Using Telerik ASP.NET Core Form Component
  • 02:00
    Tue, Oct 22, 2024
    Just Announced: Progress Telerik & Kendo UI 2024 Q4 Release Webinars December 2, 3 and 5
  • 08:04
    Tue, Oct 22, 2024
    The Spooky Angular Standalone Guide
  • 02:14
    Mon, Oct 21, 2024
    Sands of MAUI: Issue #164
  • 08:21
    Mon, Oct 21, 2024
    The Guide to New Hooks in React 19
  • 02:15
    Fri, Oct 18, 2024
    Introduction to EdgeDB
    

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