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.
Syncfusion Feedback

GroupBar Selected Item

Thread ID:

Created:

Updated:

Platform:

Replies:

40876 Feb 15,2006 05:51 PM UTC Feb 16,2006 10:37 AM UTC Windows Forms 1
loading
Tags: Tools
Gordan Redzic
Asked On February 15, 2006 05:51 PM UTC

I have a groupbar on a form and am using the GroupBarItemSelected event. When the form loads the GroupBarItemSelected event is fired and the groupbar that was selected in the design window is the groupbar item for the event. Is there a way to set the selected group bar item to null so that this event is not fired UNTIL a user actually selects a groupbar item? I have some initialization that must be done BEFORE the GroupBarItemSelected event is fired.

Administrator [Syncfusion]
Replied On February 16, 2006 10:37 AM UTC

Hi Rich, I am afraid, currently the groupBarItemSelected event gets fired since we cannot make the selected item to -1. However you can use GroupBarItemSelectionChanging event and cancel the event before Form_Load and call the GroupBarItemSelectionChanging event again with the different name for the method and set args.cancel to false, as a workaround. I have attached a sample that shows this completely. GroupBarSample.zip Please refer to it and let me know if you have any questions. Thanks for using Syncfusion products. Regards, Seetha >I have a groupbar on a form and am using the GroupBarItemSelected event. When the form loads the GroupBarItemSelected event is fired and the groupbar that was selected in the design window is the groupbar item for the event. Is there a way to set the selected group bar item to null so that this event is not fired UNTIL a user actually selects a groupbar item? I have some initialization that must be done BEFORE the GroupBarItemSelected event is fired.

GroupBarSample0.zip

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

;