The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to prompt the user to save before switching from one tab to another in my application. The Deactivate() function fires too late. Is there something that can be done to achieve similar functionality to the Closing() function, but when the user switches tabs?
MJMano J Syncfusion Team August 2, 2006 06:56 PM UTC
Hi,
I suppose you are using TabbedMDIManager in your application. You can use the cancellable SelectedIndexChanging event of internal tabControlAdv used in tabbedMDIManager for this purpose.
tabbedMDIManager.TabControlAdded += new TabbedMDITabControlEventHandler(tabbedMDIManager_TabControlAdded);