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

Menu like combobox with lock icon

1 Answer 40 Views
Menu
This is a migrated thread and some comments may be shown as answers.
J Tess
Top achievements
Rank 1
J Tess asked on 20 Oct 2011, 12:23 AM
Hi,
  I was wondering if with the latest verison of the Silverlight (v4) controls you can style a Menu to:

1)  Contain a list with two "columns": First column will act like a radio button but the button will be a lock icon that will color in (like many graphics programs) but only one item can be locked;  Second column will be the value the user will be choosing from, that will be associated with the lock.
2) Allow the selection of the value without "locking it", only the click event on the first column will lock it.
3) Once a menu item has been chosen (regardless of whether it is locked) The menu name will change to that name (with an arrow next to it) -- behave like a combobox (only one item chosen or locked at any one time).

If this is more doable within a combobox with another control nested inside it, that is fine too.
Let me know what you think,
Thanks!
-J


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Oct 2011, 12:38 PM
Hello,

I suggest to check this online example which demonstrates how to implement checkable RadMenuItems.

RadMenu doesn't support replacing the root item with the clicked item, you can try to implement this manually by using Click event of the MenuItem or ItemClick event of the Menu. More information about events can be found here.
 
Best wishes,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Menu
Asked by
J Tess
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or