This knowledge base explains how to add toggle button inside the DropDownButton popup.
It can be achieved by using ‘ event and the toggle state of button can be changed using the ‘ event. By default, DropDownButton popup will be closed on item click and it has been prevented using ‘ event.
In the below code example, the toggle button ‘Log In/Log Out’ added inside DropDownButton popup and button toggle state is maintained while performing open/close popup.
The following output displays the result of adding toggle button in DropDownButton popup.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.