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:54
    Fri, Sep 29, 2023
    Integrate Biometric Authentication in a Next.js App Using the SimpleWebAuthn Package—Part 1
  • 07:55
    Fri, Sep 29, 2023
    Top AWS Certifications 2023: Which One Should You Choose?
  • 07:16
    Thu, Sep 28, 2023
    How to Integrate MarkLogic with the KendoReact Grid and Map Components
  • 02:33
    Wed, Sep 27, 2023
    Basic Themes and Customization in Telerik UI for Blazor
  • 07:33
    Wed, Sep 27, 2023
    New FREE Ebooks: Modernize Your Apps with Blazor and .NET MAUI
  • 02:57
    Tue, Sep 26, 2023
    Case Study: How Progress Uses Figma to Manage the Design Process
  • 07:41
    Tue, Sep 26, 2023
    How to Switch Between Reporting REST Service and Report Server When Rendering Your Reports
  • 02:47
    Mon, Sep 25, 2023
    Sands of MAUI: Issue #118
  • 07:51
    Mon, Sep 25, 2023
    Improve Angular Loading Experience with Functional Interceptors and Kendo UI for Angular Loader
  • 08:15
    Fri, Sep 22, 2023
    Fully Typed with tRPC
  • 02:23
    Thu, Sep 21, 2023
    ‘How Am I Going to Build That’ Expense Management UI: Telerik UI for Blazor Components
  • 02:17
    Thu, Sep 21, 2023
    Beyond the Basics: Exploring Simple Navigation in .NET MAUI
  • 07:41
    Thu, Sep 21, 2023
    5 Ways to Improve Design Collaboration and Handoff
  • 02:27
    Wed, Sep 20, 2023
    Elevate .NET MAUI Apps with Powerful Grid
  • 07:33
    Wed, Sep 20, 2023
    Sitefinity Automation with Test Studio (Why the Magic Happens)
    

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

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