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

XML Provider

This demo illustrates how to bind RadGantt to a XML file using the built-in XmlGanttProvider. The only thing you need to do is to create a new instance of the provider and pass the path to the XML file to its constructor. Once this is done the control will automatically extract the information from the XML file and update its content when the user adds/removes tasks or changes them.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Language="vb" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.GanttExamples.DataBinding.ServerSide.XMLProvider.DefaultVB" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</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">
        <telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1" Height="450px" SelectedView="MonthView" ReadOnly="true" runat="server">
        </telerik:RadGantt>
    </div>

    </form>
</body>
</html>

Support & Learning Resources

Find Assistance