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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Capturing Groupbar Parent Item Select

Thread ID:





90104 Sep 16,2009 04:43 PM UTC Sep 22,2009 06:52 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Grouping
Barry Shulam
Asked On September 16, 2009 04:43 PM UTC

I can capture items that are clicked using the Groupbar1_ItemSelect method.

However I cant seem to capture when A user clicks on a header item on the groupbar. I want to capture this event and reload items in a second splitpane.

Balavasanth [Syncfusion]
Replied On September 22, 2009 06:52 AM UTC

Hi Barry,

Thanks for your interests in Syncfusion products.

You can make use of the GroupBarItemSelected event which occurs when a GroupBar Item of the GroupBar control is selected.

Accessing the GroupBar.SelectedItem property from within the GroupBarItemSelected event handler will allow you to determine the item that was clicked. Based on this appropriate command, handling routines can be invoked.

[C# Code]

// Provide a handler for the GroupBar.GroupBarItemSelected event.

this.groupBar1.GroupBarItemSelected += new System.EventHandler(this.groupBar1_GroupBarItemSelected);

//The GroupBar.SelectedItem property fetches the index of the selected item, while the item is obtained by referencing the selected index within the GroupBar.GroupBarItems collection.

private void groupBar1_GroupBarItemSelected(object sender, System.EventArgs e)


Console.WriteLine(String.Concat("Selected Item = ", this.groupBar1.GroupBarItems[this.groupBar1.SelectedItem].Text));


Based on the selected Groupbar item you can perform the action.

Please let us know if you have any queries.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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