To display DropDownButtons only when arrow part is clicked

5 posts, 0 answers
  1. Yip Yew Kwong
    Yip Yew Kwong avatar
    14 posts
    Member since:
    May 2010

    Posted 25 Jun 2012 Link to this post

    Hi,is it possible to display the buttons list only when the arrow part is clicked. Currently, the buttons list will be displayed when click on the main button. I need some thing like the normal drop down list. Thanks in advance. 
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 28 Jun 2012 Link to this post

    Hello Yip Yew Kwong,

    Thank you for contacting us.

    As far as I understand, you would like to achieve behavior similar to the one implemented in the Buttons >> SplitButton example in our Demos. If this is so, please have a look at the code there. If I did not get your question correctly, please elaborate a bit more on your requirements. I will do my best to provide you with proper support.

    Greetings,
    Boryana
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Yip Yew Kwong
    Yip Yew Kwong avatar
    14 posts
    Member since:
    May 2010

    Posted 29 Jun 2012 Link to this post

    Hi Boryana,
    Split button is what I am looking for. Thanks a lot.
  5. Alexalexabc
    Alexalexabc avatar
    2 posts
    Member since:
    Aug 2013

    Posted 20 Mar 2014 Link to this post

    So, it is the split button that covers your need? I vaguely remember there are something called WinForms dropdown button. Nothing like that exist in telerik? I couldn't be wrong.
  6. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 25 Mar 2014 Link to this post

    Hello Alexalexabc,

    Thank you for writing.

    Telerik UI for WinForms introduces in its suite two buttons with similar functionality:

    RadSplitButton, which provides a menu-like interface, opened when the arrow part is clicked. Each of the items on the RadSplitButton can be set to perform an action when clicked. In addition, the items can contain other items, allowing you to create any hierarchy that fits your needs. RadSplitButton is visually indistinguishable from RadDropDownButton, but there is an important programmatic distinction. On RadSplitButton you set a DefaultItem property to indicate the item whose Click event should be triggered when the button is clicked. The functionality of RadSplitButton is "split" between the button itself and the dropdown menu.

    RadDropDownButton, which provides a menu-like interface open from a button. Each of the items of RadDropDownButton can be set to perform an action when clicked. In addition, the items can contain other items, allowing you to create any hierarchy that fits your needs of subitems. 

    Please refer to our Demo application - Buttons section.

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Desislava
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready