Hello, I am using a button that has "Take Attendance" on the face and "All Present" and "All Absent" on the dropdown menu. Basically, I need to separate the menu so that it doesn't open when the face is clicked. Microsoft apps work this way. There is a main command and you can select the dropdown only if you need more choices. I know about the split button but I am having problems with the way it's styled. I was hoping I'd be able to cancel the menu when the ActionButton is clicked and not cancel it when the arrow is clicked but it seems that the sender is the same in both cases.
--DT
Private
Sub
ButtonTakeAttendance_DropDownOpening(
ByVal
sender
As
Object
,
ByVal
e
As
System.ComponentModel.CancelEventArgs)
Handles
ButtonTakeAttendance.DropDownOpening
If
TypeOf
(sender)
Is
RadDropDownButtonElement
Then
e.Cancel =
True
End
If
End
Sub
--DT