Split button click

2 posts, 0 answers
  1. Craig Hill
    Craig Hill avatar
    6 posts
    Member since:
    Jan 2006

    Posted 18 Oct 2006 Link to this post

    With the SplitButton. We have multiple items in the dropdown menu. What we would like to do is;
    If the user click on the button it will activate the default item click event.
    If the user click on the little arrow on the right of the button it should expand and show other items in the dropdown.

    The problem is that if you click the button it show the dropdown items regardless.

    If you implement the click event for the SplitButton, then it doesn't matter where the user click on the button it always execute the SplitButton click event.

    In the SplitButton click event, how do you work out if the user click on the button or the little arrow on the right?

    I'm using the button in a dialog.


  2. Chris
    Admin
    Chris avatar
    221 posts

    Posted 19 Oct 2006 Link to this post

    Hi Craig,
    The expected behavior which you have described is indeed the right behavior for a SplitButton. In the CTP build there's a problem with the SplitButton which we have already fixed (also we made a separate example for the SplitButton).
    Now when the user clicks on the button it activates the default item click event and when the user clicks on the arrow button the dropdown shows.
    If you're interested we can send you a fixed build next week.
    Btw we would be very grateful if you share with us your initial opinion about r.a.d.controls for Winforms. Do you find them useful and would you like some special feature implemented? Which is the next control which you would like to see as part of r.a.d.controls for WinForms?

    Sincerely yours,
    Chris
    the telerik team
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top