Hello experts i want to create a dynamic menu from the database just like the one in the following link
http://demos.telerik.com/aspnet-ajax/panelbar/examples/overview/defaultcs.aspx
my table structure is
screen_id , screen_name, parent_id, link
1,"Home",0,"/Home.aspx"
2,"MyContact",1,"/MyContact.aspx"
3,"MyTasks",1,"/MyTasks.aspx"
my problem is that i am not been able to place a sub menu under its parent menu at e.g. menu id 2 and 3 under menu id 1.In ASP.net i used to use this line Menu1.FindItem(dr["ParentID"].ToString()).ChildItems.Add(mnu); but in Telerik i am not been able to use any of the function "FindItemByValue", "FindItem", "FindItemByText".
if any one can help?
http://demos.telerik.com/aspnet-ajax/panelbar/examples/overview/defaultcs.aspx
my table structure is
screen_id , screen_name, parent_id, link
1,"Home",0,"/Home.aspx"
2,"MyContact",1,"/MyContact.aspx"
3,"MyTasks",1,"/MyTasks.aspx"
my problem is that i am not been able to place a sub menu under its parent menu at e.g. menu id 2 and 3 under menu id 1.In ASP.net i used to use this line Menu1.FindItem(dr["ParentID"].ToString()).ChildItems.Add(mnu); but in Telerik i am not been able to use any of the function "FindItemByValue", "FindItem", "FindItemByText".
if any one can help?