Vista skin

Gantt - XML Provider

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.GanttExamples.DataBinding.ServerSide.XMLProvider.DefaultCS"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <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">


Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?