I know it's an unusual situation, but I have a case where I'm adding the items to the context menu's items collection in code... I build the context menu when the form loads. When I call the .show method, it works fine when there are not many items in the .items collection... maybe >20. In many cases, I have 100+ and it effectivly does not work.... minutes later, the context menu finally pops.
I replaced the control w/ the free one that ships from Microsoft and it works fine with no other changes to the code.
In the form's load event....
showing the context menu...
I replaced the control w/ the free one that ships from Microsoft and it works fine with no other changes to the code.
In the form's load event....
cm =
new
RadContextMenu();
foreach
(
string
g
in
groups)
{
RadMenuItem mnu =
new
RadMenuItem();
mnu.Text = g;
mnu.Click +=
new
EventHandler(cmclick);
cm.Items.Add(mnu);
}
showing the context menu...
cm.Show(radChart1,
new
Point(0, 0));