This is a migrated thread and some comments may be shown as answers.

header/text is blank

1 Answer 49 Views
Menu
This is a migrated thread and some comments may be shown as answers.
StrandedPirate
Top achievements
Rank 1
StrandedPirate asked on 29 Apr 2011, 12:57 AM
I'm adding menus in the code behind and the header/text for the last item is always blank the first time the menu is opened. If you open them menu a second time the header is magically there. What's going on?

ContextMenu.Items.Add("New configuration");
ContextMenu.Items.Add(new RadMenuItem() { IsSeparator = true });
ContextMenu.Items.Add("Edit");
ContextMenu.Items.Add("Duplicate");
ContextMenu.Items.Add(new RadMenuItem() { IsSeparator = true });
RadMenuItem menuItem = new RadMenuItem();
menuItem.Icon = new Image() { Source = new BitmapImage(new Uri("/blahblahblah;component/Assets/Images/group.png", UriKind.Relative)) };
menutItem.Header = "Security";
ContextMenu.Items.Add(menuItem);

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 02 May 2011, 07:55 AM
Hi Joey,

I tried to reproduce the issue, but to no avail. Could you please try to prepare a sample project and send it back to us. In that way we will be able to run and debug it locally and track down the source of the issue. Also, could you please try with our latest available internal build.

Looking forward to your reply.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Menu
Asked by
StrandedPirate
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or