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:13
    Thu, Jun 8, 2023
    Transform a WPF App to Cross-Platform with .NET MAUI
  • 07:16
    Thu, Jun 8, 2023
    iMacros Automation Scripting with Test Studio
  • 01:49
    Wed, Jun 7, 2023
    ThemeBuilder Unveils New Capabilities and Redesigned Feature Packages
  • 01:49
    Wed, Jun 7, 2023
    Gauge Item in Telerik Reporting, Rules Grouping in Fiddler—Don’t Miss the R2 2023 Release
  • 01:49
    Wed, Jun 7, 2023
    Software Quality: JustMock and Test Studio Dev Edition Latest Improvements
  • 01:49
    Wed, Jun 7, 2023
    What’s New in R2 2023 with Telerik Desktop and Mobile Components
  • 01:49
    Wed, Jun 7, 2023
    What’s New in Kendo UI R2 2023
  • 01:49
    Wed, Jun 7, 2023
    What’s New in Telerik Web UI Component Libraries with R2 2023
  • 01:49
    Wed, Jun 7, 2023
    The Telerik and Kendo UI R2 2023 Release Is Here—See What’s New!
  • 02:50
    Tue, Jun 6, 2023
    How to Use 3 Popular React Hooks with React Router
  • 02:17
    Mon, Jun 5, 2023
    Sands of MAUI: Issue #106
  • 07:33
    Mon, Jun 5, 2023
    How to Export Data to PDF with Kendo PDF Export and Angular
  • 02:12
    Fri, Jun 2, 2023
    Creating Your Own Reports in Your Applications: Getting Started with the Telerik Web Report Designer
  • 07:11
    Fri, Jun 2, 2023
    Blazor Basics: Getting Started with Blazor Development in Visual Studio 2022
  • 02:12
    Thu, Jun 1, 2023
    Modern UI with the WinForms RadToolbarForm
    

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