We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to trap bar item events (runtime created)

Hi, All my bar items are created in runtime. I need to trap the "click" event. How I can do that ? Best regards, Martin

1 Reply

AD Administrator Syncfusion Team February 17, 2005 09:09 PM UTC

Hi Martin, If you point all of your BarItems at the same Event Handler, you can determine which one was clicked using the sender parameter. I''ve included a sample that demonstrates this. Hope it helps. Regards, Gregory Austin Syncfusion Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon