ESRI.ArcGIS.ADF.Web.UI.WebControls
CloseButton Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > FloatingPanel Class : CloseButton Property




Whether the panel will display a Close button, which allows the user to close the panel.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Whether the window will have a close button")>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<ResCategoryAttribute("Floating Panel Appearance")>
Public Property CloseButton As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FloatingPanel
Dim value As Boolean
 
instance.CloseButton = value
 
value = instance.CloseButton
C# 
[ResDescriptionAttribute("Whether the window will have a close button")]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[ResCategoryAttribute("Floating Panel Appearance")]
public bool CloseButton {get; set;}

Remarks

Be aware that if the user clicks the Close button to hide the panel, the FloatingPanel will no longer be available unless the application provides a way to show the FloatingPanel again. A client-side JavaScript command may be used in the application to display the panel:



showFloatingPanel('FloatingPanel1');

Pass the client ID of the FloatingPanel into the showFloatingPanel() method. The panel can also be hidden with the JavaScript command hideFloatingPanel(), with the same client-ID argument of the FloatingPanel.

See Also

© 2010 All Rights Reserved.