This is how my data is stored in database.
id parentId menu filename
1 0 Menu1
2 1 Sub Menu 1.1
3 0 Menu2
4 3 Sub Menu2.1
5 3 Sub Menu2.2
6 5 My file D:\a.txt
7 0 Menu 3
8 7 My file (menu3) D:\b.txt
I want to show the menu/submenu/filename on the Ribbon Control. If somebody has done something like this, please suggest how this can be done. I have created a Ribbon Form then Ribbon Control, Added Bar Button Item. Now here I want to show the menu with navigation arrow e.g.menu1, menu2, menu3 with navigation arrow which on hover shows sub menu and sub menu again showing the arrow if there are any child element in it.
Platform: VS2012, windows application, c#