Hello.
I'm leaving you a question because I need your help.
Is there a way to run multiple windows of the same menu? Just like below.
* Menu Example
--------------------------------------------------------------------------------
A MENU | B MENU | C MENU
--------------------------------------------------------------------------------
B Sub Menu | B Sub Menu | B Sub Menu
--------------------------------------------------------------------------------
Code for generating the menu currently in use.
* CODE
var menuList = MenuList.List.Where(x => x.DISPLAY_FLAG.Equals("Y"));
foreach (FT_MENU_INFO menu in menuList)
{
if (string.IsNullOrWhiteSpace(menu.PARENT_MENU_CD)
|| menu.MENU_CODE.Equals(menu.PARENT_MENU_CD))
{
var item = new RadMenuItem { Text = menu.MENU_NAME };
item.Padding = new Padding(0, 0, 3, 0);
item.ClickMode = ClickMode.Press;
item.ShowArrow = false;
item.Visibility = ElementVisibility.Visible;
var subMenuItem = menuList.Where(x => x.PARENT_MENU_CD != null && x.PARENT_MENU_CD.Equals(menu.MENU_CODE)).ToArray();
for (int i = 0; i < subMenuItem.Length; i++)
{
RadMenuItem subMenu = new RadMenuItem()
{
Text = subMenuItem[i].MENU_NAME,
Name = subMenuItem[i].MENU_CODE
};
subMenu.Click += Menu_Click;
item.Items.Add(subMenu);
}
this.radMenu.Items.Add(item);
}
}