Intersoft WebDesktop Documentation
OnBeforeClosed Property
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebTabClientEvents Class : OnBeforeClosed Property


Glossary Item Box

Gets or sets the client event handler that will be invoked when a tab is about to be closed.

Syntax

Visual Basic (Declaration) 
Public Property OnBeforeClosed As String
Visual Basic (Usage)Copy Code
Dim instance As WebTabClientEvents
Dim value As String
 
instance.OnBeforeClosed = value
 
value = instance.OnBeforeClosed
C# 
public string OnBeforeClosed {get; set;}

Remarks

This event is suitable if you want to put your codes to validate some actions before the Tab is really closed. For instance, you want to customize WebTabItem to display a confirmation box, which is made using WebDialogBox, before TabItem is closed. To learn more on this event you can refer to the tutorial Displaying confirmation box before TabItem is closed.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.