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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 09:21
    Fri, Dec 1, 2023
    Browser Image Conversion Using FFmpeg.wasm
  • 03:09
    Thu, Nov 30, 2023
    Getting Started with Blazor’s New Render Modes in .NET 8
  • 08:41
    Thu, Nov 30, 2023
    How to Prioritize Digital Well-Being in Mobile App Design
  • 04:05
    Wed, Nov 29, 2023
    ASP.NET Core Basics: Essential NuGet Packages for Beginners (Part 2)
  • 09:01
    Wed, Nov 29, 2023
    The Impact of AI on QA Testing
  • 03:33
    Tue, Nov 28, 2023
    How to Toggle Between Light and Dark Modes in Blazor
  • 08:47
    Tue, Nov 28, 2023
    Visualize Trends with the KendoReact Trendlines
  • 03:35
    Mon, Nov 27, 2023
    Sands of MAUI: Issue #125
  • 09:15
    Mon, Nov 27, 2023
    How to Blend Reporting and Angular Applications Seamlessly
  • 03:44
    Wed, Nov 22, 2023
    ASP.NET Core Basics: Essential NuGet Packages for Beginners (Part 1)
  • 08:43
    Wed, Nov 22, 2023
    Checking Vue 3 Slots for Emptiness
  • 03:53
    Tue, Nov 21, 2023
    Uploading Files with Telerik UI for Blazor
  • 08:55
    Tue, Nov 21, 2023
    Tips for Creating a Super Effective Portfolio Website
  • 03:41
    Mon, Nov 20, 2023
    Sands of MAUI: Issue #124
  • 09:27
    Mon, Nov 20, 2023
    Build a Dynamic Breadcrumb Trail with Kendo UI for Angular
    

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