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

Split button click

1 Answer 216 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Craig Hill
Top achievements
Rank 2
Craig Hill asked on 19 Oct 2006, 01:45 AM
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.


1 Answer, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 19 Oct 2006, 01:18 PM
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
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Craig Hill
Top achievements
Rank 2
Answers by
Chris
Telerik team
Share this question
or