Menu like combobox with lock icon

2 posts, 0 answers
  1. J Tess
    J Tess avatar
    1 posts
    Member since:
    Apr 2010

    Posted 19 Oct 2011 Link to this post

    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


  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 24 Oct 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top