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

Live XML

Data streamed live from http://feeds.feedburner.com/Telerik
  • 04:13
    Tue, Nov 12, 2024
    How to Integrate Search-as-You-Type into Your .NET MAUI DataGrid
  • 09:45
    Tue, Nov 12, 2024
    Integrating React with Astro
  • 11:13
    Fri, Nov 8, 2024
    Mapping Over Promises in JavaScript
  • 10:13
    Thu, Nov 7, 2024
    Data-Driven Design: Using Analytics to Improve User Experience
  • 03:22
    Wed, Nov 6, 2024
    Shift-Left to Make Testing Faster Without Impacting Quality
  • 09:16
    Wed, Nov 6, 2024
    Considerations When Porting a WPF App to .NET MAUI
  • 03:27
    Tue, Nov 5, 2024
    You Can Go Your Own Way: KendoReact Unstyled Mode
  • 09:41
    Tue, Nov 5, 2024
    Getting Started with Domain-Driven Design in ASP.NET Core
  • 04:35
    Mon, Nov 4, 2024
    Sands of MAUI: Issue #166
  • 03:12
    Fri, Nov 1, 2024
    Getting Started with the Resource API in Angular
  • 08:20
    Fri, Nov 1, 2024
    Mastering TypeScript: Benefits and Best Practices
  • 09:27
    Thu, Oct 31, 2024
    No Tricks, All Treats: A Sneak Peek at Our New AI Theming Tool
  • 04:23
    Wed, Oct 30, 2024
    Code Smarter: Spell Checker and Colorization Braces in Visual Studio 2022
  • 01:23
    Wed, Oct 30, 2024
    Developers Are from Saturn, Designers from Neptune: Survey Results
  • 05:10
    Tue, Oct 29, 2024
    Deep Dive into the New .NET MAUI Blazor Hybrid and Web App Solution Template
    

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