This example demonstrates how to populate RadMenu from WCF Web Service. You need to point to an existing web service and method:
<telerik:RadMenu runat="server" ID="RadMenu1" DataSourceID="LinqDataSource1" DataTextField="Title" DataValueField="CategoryId" > <WebServiceSettings Path="MenuWcfService.svc" Method="LoadData" /> <DataBindings> <telerik:RadMenuItemBinding Depth="0" ExpandMode="WebService" /> </DataBindings> </telerik:RadMenu>
The root nodes are populated from a LinqDataSource:
Check the source code of the web service for the implementation of the LoadData method.
www.telerik.com | Terms of Use | Contact Us