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

Bug opening RadContextMenu (highlighting disappears)

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Adige S.p.A
Top achievements
Rank 1
Adige S.p.A asked on 14 Mar 2013, 09:59 AM
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?

Thanks

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 19 Mar 2013, 12:15 PM
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.

Tags
TreeView
Asked by
Adige S.p.A
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or