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.

TabControlAdv - TabPage close events

Thread ID:





73010 Apr 15,2008 07:30 PM Jan 10,2013 02:38 AM Windows Forms 7
Tags: Tools
Julie Levy
Asked On April 15, 2008 07:30 PM

Hi -
I am using the TabControlAdv in version I am showing the close button and need know when a user closes a tab page. Where is the tabpageclosing or tabpageclosed event?

Administrator [Syncfusion]
Replied On April 20, 2008 11:32 AM

Hi Julie,

Thank you for your interest in Syncfusion products.

TabClosing event

The ControlRemoved event of TabControlAdv is fired, when tabPage is being closed using the tab close button. Please refer to the code below for more details.


this.tabControlAdv1.ControlRemoved += new ControlEventHandler(tabControlAdv1_ControlRemoved);

void tabControlAdv1_ControlRemoved(object sender, ControlEventArgs e)

Please let me know if this helps you.


Replied On May 27, 2008 10:50 PM


I am using the closebutton on the active tab:
this.tabControl.ShowCloseButtonForActiveTabOnly = true;

Is there an event that's triggered *BEFORE* the tab is actually removed by clicking on the CloseButton?


Mano J [Syncfusion]
Replied On May 28, 2008 04:48 AM

Hi Sean,

If you are using Essential Studio or higher version, you can use TabPageAdv's Closing and Closed events.

this.tabPageAdv1.Closing += new TabPageAdvClosingEventHandler(this.tabPageAdv1_Closing);
this.tabPageAdv1.Closed += new System.EventHandler(this.tabPageAdv1_Closed);

private void tabPageAdv1_Closing(object sender, TabPageAdvClosingEventArgs args)

private void tabPageAdv1_Closed(object sender, EventArgs e)

Replied On May 28, 2008 09:21 PM

Thank you for your response.

Is there a way to achieve this in
SyncFusion- ?

Thanks again

Mano J [Syncfusion]
Replied On May 29, 2008 07:55 AM

Hi Sean,

You can't achieve it in 6.1. But if you need these events in 6.1 itself, we can provide a private patch including these events in it.

Please create a Direct-Trac incident stating this forum id in it for the patch.


Santhosh Kumar
Replied On January 8, 2013 08:35 AM


I am using V7 of the syncfusion
By setting the this.tabControl.ShowCloseButtonForActiveTabOnly = true; all active tab pages will have the close button.
Is there a way not to show the close button for some tab pages.

Thanks for answers

Paul Anderson S [Syncfusion]
Replied On January 10, 2013 02:38 AM

Hi Santhosh ,

Thanks for your update.

TabControlAdv individual TabPage ShowCloseButton feature available  in onwards. You can achieve your requirement by upgrading to  Essential Studio new version.

Please let us know if you need any other details.

Regards ,

Paul Anderson


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.