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.
Unfortunately, activation email could not send to your email. Please try again.

ParenBarItem1_Click doesn''t react to events

Thread ID:

Created:

Updated:

Platform:

Replies:

89916 Sep 10,2009 06:38 AM Sep 11,2009 12:39 AM Windows Forms 4
loading
Tags: Tools
Allon
Asked On September 10, 2009 06:38 AM

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 08:14 AM

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 08:17 AM


Allon
Replied On September 10, 2009 09:30 AM

Thanks a lot, Nanda :)

That was helpful.

Regards,
Allon

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

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.

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.

;