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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ParenBarItem1_Click doesn''t react to events

Thread ID:

Created:

Updated:

Platform:

Replies:

89916 Sep 10,2009 10:38 AM UTC Sep 11,2009 04:39 AM UTC WinForms 4
loading
Tags: Tools
Allon
Asked On September 10, 2009 10:38 AM UTC

Hi, everyone

How can I Handle click event of some ParenBarItem?
I tried to use Private Sub ParenBarItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ParenBarItem1.Click, and it does nothing...
Please, help me with this.

Regards,
Allon



Nandakumar R [Syncfusion]
Replied On September 10, 2009 12:14 PM UTC

Hi,

Thanks for your interest in Syncfusion Essential Studio.

By default, the ParentStyle property of the ParentBarItem will be Default which will work like a Menu - when clicked it will show the dropdown and there will be no click event fired. Once you set the ParentStyle property to DropDown, you can see the ParentBarItem is firing the Click event.

[C#]
this.parentBarItem1.ParentStyle = Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItemStyle.DropDown;

http://www.syncfusion.com/uploads/redirect.aspx?file=Sample_a2c5c205.zip&team=support

Please try this and let me know if this helps.

Regards,
Nanda

Nandakumar R [Syncfusion]
Replied On September 10, 2009 12:17 PM UTC


Allon
Replied On September 10, 2009 01:30 PM UTC

Thanks a lot, Nanda :)

That was helpful.

Regards,
Allon

Nandakumar R [Syncfusion]
Replied On September 11, 2009 04:39 AM UTC

Thanks for the update Allon.

Regards,
Nanda

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;