PowerWEB File Upload for ASP.NET
CloseBehavior Property
See Also  Send comments on this topic.
Dart.FileUpload Namespace > ProgressPanel Class : CloseBehavior Property



Gets or sets the behavior of the ProgressPanel when upload has completed.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DartDescriptionAttribute("Determines how the ProgressPanel behaves when an upload has completed.  Setting to 'None' keeps the panel visible at all times.  When set to 'ManualCloseOnComplete', a 'close' link will be displayed.  'AutoCloseOnComplete' will automatically hide the ProgressPanel when an upload is cancelled or completed.")>
<CategoryAttribute("Behavior")>
<NotifyParentPropertyAttribute(True)>
Public Property CloseBehavior As CloseBehavior
Visual Basic (Usage)Copy Code
Dim instance As ProgressPanel
Dim value As CloseBehavior
 
instance.CloseBehavior = value
 
value = instance.CloseBehavior
C# 
[DefaultValueAttribute()]
[DartDescriptionAttribute("Determines how the ProgressPanel behaves when an upload has completed.  Setting to 'None' keeps the panel visible at all times.  When set to 'ManualCloseOnComplete', a 'close' link will be displayed.  'AutoCloseOnComplete' will automatically hide the ProgressPanel when an upload is cancelled or completed.")]
[CategoryAttribute("Behavior")]
[NotifyParentPropertyAttribute(true)]
public CloseBehavior CloseBehavior {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[DartDescriptionAttribute("Determines how the ProgressPanel behaves when an upload has completed.  Setting to 'None' keeps the panel visible at all times.  When set to 'ManualCloseOnComplete', a 'close' link will be displayed.  'AutoCloseOnComplete' will automatically hide the ProgressPanel when an upload is cancelled or completed.")]
[CategoryAttribute("Behavior")]
[NotifyParentPropertyAttribute(true)]
public:
property CloseBehavior CloseBehavior {
   CloseBehavior get();
   void set (    CloseBehavior value);
}

Property Value

The default value is CloseBehavior.None.

Remarks

The default value is CloseBehavior.None.

When set to CloseBehavior.ManualCloseOnComplete, a 'close' button will be displayed when an upload is cancelled or completed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.3
© 2012 Dart Communications. All Rights Reserved.