This example shows how to codelessly bind RadMenu to LinqDataSource. Since the LinqDataSource is not hierarchical by nature you need to set the DataFieldID and DataFieldParentID properties:
<telerik:RadMenu runat="server" ID="RadMenu1" DataSourceID="LinqDataSource1" DataTextField="Text" DataFieldID="id" DataFieldParentID="parentId" > </telerik:RadMenu> <asp:LinqDataSource runat="server" ID="LinqDataSource1" ContextTypeName="LinqToSql.TelerikSamplesDataContext" TableName="Links"> </asp:LinqDataSource>
www.telerik.com | Terms of Use | Contact Us