header/text is blank

2 posts, 0 answers
  1. StrandedPirate
    StrandedPirate avatar
    32 posts
    Member since:
    Nov 2007

    Posted 28 Apr 2011 Link to this post

    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);
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 May 2011 Link to this post

    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
  3. DevCraft banner
Back to Top