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

WCF Service

This example demonstrates how to populate RadListBox from WCF Web Service. You need to point to an existing web service and method:

<telerik:RadListBox runat="server" ID="RadListBox1" Height="200px" Width="150px">
	<WebServiceSettings Path=ListBoxWcfService.svc" Method="LoadData" />
</telerik:RadListBox>
  • DefaultVB.aspx
  • ListBoxWcfSService.vb
<%@ Page Language="VB"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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 size-thin">
        <telerik:RadListBox RenderMode="Lightweight" runat="server" ID="RadListBox1" Height="200px" Width="300px">
            <WebServiceSettings Path="ListBoxWcfService.svc" Method="LoadData">
            </WebServiceSettings>
        </telerik:RadListBox>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance