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

TabControlAdv - TabPage close events

Thread ID:





73010 Apr 15,2008 11:30 PM UTC Jan 10,2013 07:38 AM UTC WinForms 7
Tags: Tools
Julie Levy
Asked On April 15, 2008 11:30 PM UTC

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 03:32 PM UTC

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 28, 2008 02:50 AM UTC


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 08:48 AM UTC

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 29, 2008 01:21 AM UTC

Thank you for your response.

Is there a way to achieve this in
SyncFusion- ?

Thanks again

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

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 01:35 PM UTC


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 07:38 AM UTC

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.

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