Bug opening RadContextMenu (highlighting disappears)

2 posts, 0 answers
  1. Adige S.p.A
    Adige S.p.A avatar
    8 posts
    Member since:
    Jul 2012

    Posted 14 Mar 2013 Link to this post

    Hi all

    I created a very simple application with two TabItem:
    - first TabItem is empty
    - second TabItem contains a RadTreeView with RadContextMenu (with one RadMenuItem without command or event)

    the first time that I select the second TabItem and right click on RadTreeViewItem the RadContextMenu opens and the RadTreeViewItem is highlighted properly. If I switch from second to first TabItem and return in the second TabItem, right click on RadTreeViewItem the RadContextMenu opens and highlighting of the element disappears, Why, any suggestions?

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1183 posts

    Posted 19 Mar 2013 Link to this post

    Hi Milena,

    I already answered to this question in your ticket but I will post the same answer in this forum thread so our community can find it.

    You are right that this is unwanted behavior. This is why I logged it as a bug in our PITS and you can follow it and vote for it here. Meanwhile, as a workaround, you can use our RadTabControl and set its IsContentPreserved property to True. By doing so the selection will work as expected.

    Kind regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top