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

Clear selected item

1 Answer 48 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Adrian Pay
Top achievements
Rank 1
Adrian Pay asked on 16 Sep 2010, 05:23 AM
how do i clear the selected item? What i did is I RadContextMenu as dropdown content of a split button. but everytime i re-open my split button, the RadContextMenu always remember the last selected item/path. i want to reset it to none. how?

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 16 Sep 2010, 01:19 PM
Hi Adrian Pay,

Such use of RadContextMenu is not supported. In order to work as expected RadContextMenu should be Opened / closed. When placed in as content - this doesn't happen.
In order to fix it you should attach it using the RadContextMenu.ContextMenu attached property and set EventName="DropDownOpened".

Let us know if you need more information.

Kind regards,
Hristo
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
Adrian Pay
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or