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

Web Service

This example demonstrates how to populate RadGantt from web service. You need to configure the WebServeSettings, by specifying the Path to the existing web service :

<telerik:RadGantt runat="server" ID="RadGantt" Skin="Default" Height="450px">
	<WebServiceSettings Path="GanttService.asmx" />
</telerik:RadComboBox>
  • DefaultVB.aspx
  • GanttService.vb
<%@ Page Language="vb"  %>

<!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" runat="server" ID="RadGantt" Height="450px" AutoGenerateColumns="false" SelectedView="MonthView">
            <Columns>
                <telerik:GanttBoundColumn DataField="Title" DataType="String" Width="120px"></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="Start" DataType="DateTime" DataFormatString="dd/MM/yy" Width="50px"></telerik:GanttBoundColumn>
                <telerik:GanttBoundColumn DataField="End" DataType="DateTime" DataFormatString="dd/MM/yy" Width="50px"></telerik:GanttBoundColumn>
            </Columns>
            <WebServiceSettings Path="GanttService.asmx" />
        </telerik:RadGantt>
    </div>

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

Support & Learning Resources

Find Assistance