How to use Asp.net Controls for this Situation.

Posted by Jayakumars under C# on 3/10/2017 | Points: 10 | Views : 266 | Status : [Member] [MVP] | Replies : 0
Hi

List<Menus> lstMenus =new List<Menus>();

MenuList.DataSource = lstMenus;
MenuList.DataBind();



Html code

<asp:Menu ID="MenuList"


Additional information: HierarchicalDataBoundControl only accepts data sources that implement IHierarchicalDataSource or IHierarchicalEnumerable


HierarchicalDataBoundControl only accepts data sources that implement IHierarchicalDataSource or IHierarchicalEnumerable

How to listmenu assuing <asp:Menu Control

Mark as Answer if its helpful to you


Responses

(No response found.)

Login to post response