I have a RadSplitbutton with 6 subitems. When I click on the arrow, I expect the dropdown menu to be displayed, instead it is first firing the click event of the button, then displaying the menu. This is not what I wan to happen!
How to I prevent this from happening when trying to select the Arrow?
Thanks
Jason
4 Answers, 1 is accepted
0
Hi, Jason,
You can use the Click event of the action button:
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress Telerik
You can use the Click event of the action button:
public
RadForm1()
{
InitializeComponent();
radSplitButton1.DropDownButtonElement.ActionButton.Click += ActionButton_Click;
}
private
void
ActionButton_Click(
object
sender, EventArgs e)
{
}
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jason
Top achievements
Rank 1
answered on 05 Oct 2017, 04:56 PM
Thank you, that solves part of my issue. The second issue is when the click on the button, I want to fire the ActionButton_click Event, but I do NOT want the menu to drop down.
I only want the menu to drop down if the user clicks on the arrow.
thanks in advance
Jason
0
Jason
Top achievements
Rank 1
answered on 05 Oct 2017, 05:27 PM
I found the HideDropDown Event which solved my problem
thanks
0
Hello, Jason,
I am glad that this is working fine now. Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Progress Telerik
I am glad that this is working fine now. Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.