Skip to main content

DropDownButtonBuilder.OnButtonClick Method

Name Parameters Description
OnButtonClick(RazorBlock) jsFunc A function that is executed when the button is clicked or tapped. If splitButton is true, this function is executed for the action button only. Mirrors the client-side onButtonClick option.
OnButtonClick(String) jsFunc A function that is executed when the button is clicked or tapped. If splitButton is true, this function is executed for the action button only. Mirrors the client-side onButtonClick option.