Intersoft ClientUI Documentation
UXFileUpload Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace : UXFileUpload Class






A high-performance file uploading control with an innovative user interface and strong MVVM support.

Object Model

UXFileUpload Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)>
<TemplatePartAttribute(Name="BorderElement", Type=System.Windows.Controls.Border)>
<StyleTypedPropertyAttribute(Property="ToolBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToolBar)>
<TemplatePartAttribute(Name="DropPanel", Type=System.Windows.Controls.Border)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="StatusBarElement", Type=Intersoft.Client.UI.Aqua.UXStatusBar)>
<StyleTypedPropertyAttribute(Property="ScrollViewerStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollViewer)>
<DescriptionAttribute("A high-performance file uploading control with an innovative user interface and strong MVVM support.")>
<TemplatePartAttribute(Name="ToolBarElement", Type=Intersoft.Client.UI.Aqua.UXToolBar)>
<TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)>
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXFileUploadItem)>
<TemplatePartAttribute(Name="ScrollViewer", Type=Intersoft.Client.UI.Controls.UXScrollViewer)>
Public Class UXFileUpload 
   Inherits Intersoft.Client.Framework.ISHeaderedSelectionControl
   Implements IControlIFramework, ILicensing, ISelectionISelectionItem 
Visual Basic (Usage)Copy Code
Dim instance As UXFileUpload
C# 
[StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)]
[TemplatePartAttribute(Name="BorderElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ToolBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="DropPanel", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="StatusBarElement", Type=Intersoft.Client.UI.Aqua.UXStatusBar)]
[StyleTypedPropertyAttribute(Property="ScrollViewerStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollViewer)]
[DescriptionAttribute("A high-performance file uploading control with an innovative user interface and strong MVVM support.")]
[TemplatePartAttribute(Name="ToolBarElement", Type=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXFileUploadItem)]
[TemplatePartAttribute(Name="ScrollViewer", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public class UXFileUpload : Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  
JScript 
StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)
TemplatePartAttribute(Name="BorderElement", Type=System.Windows.Controls.Border)
StyleTypedPropertyAttribute(Property="ToolBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToolBar)
TemplatePartAttribute(Name="DropPanel", Type=System.Windows.Controls.Border)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="StatusBarElement", Type=Intersoft.Client.UI.Aqua.UXStatusBar)
StyleTypedPropertyAttribute(Property="ScrollViewerStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollViewer)
DescriptionAttribute("A high-performance file uploading control with an innovative user interface and strong MVVM support.")
TemplatePartAttribute(Name="ToolBarElement", Type=Intersoft.Client.UI.Aqua.UXToolBar)
TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)
StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXFileUploadItem)
TemplatePartAttribute(Name="ScrollViewer", Type=Intersoft.Client.UI.Controls.UXScrollViewer)
public class UXFileUpload extends Intersoft.Client.Framework.ISHeaderedSelectionControl implements IControlIFramework, ILicensing, ISelectionISelectionItem 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)]
[TemplatePartAttribute(Name="BorderElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ToolBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="DropPanel", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="StatusBarElement", Type=Intersoft.Client.UI.Aqua.UXStatusBar)]
[StyleTypedPropertyAttribute(Property="ScrollViewerStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollViewer)]
[DescriptionAttribute("A high-performance file uploading control with an innovative user interface and strong MVVM support.")]
[TemplatePartAttribute(Name="ToolBarElement", Type=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXFileUploadItem)]
[TemplatePartAttribute(Name="ScrollViewer", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public __gc class UXFileUpload : public Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  
C++/CLI 
[StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)]
[TemplatePartAttribute(Name="BorderElement", Type=System.Windows.Controls.Border)]
[StyleTypedPropertyAttribute(Property="ToolBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="DropPanel", Type=System.Windows.Controls.Border)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="StatusBarElement", Type=Intersoft.Client.UI.Aqua.UXStatusBar)]
[StyleTypedPropertyAttribute(Property="ScrollViewerStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollViewer)]
[DescriptionAttribute("A high-performance file uploading control with an innovative user interface and strong MVVM support.")]
[TemplatePartAttribute(Name="ToolBarElement", Type=Intersoft.Client.UI.Aqua.UXToolBar)]
[TemplatePartAttribute(Name="ItemsPresenter", Type=System.Windows.Controls.ItemsPresenter)]
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXFileUploadItem)]
[TemplatePartAttribute(Name="ScrollViewer", Type=Intersoft.Client.UI.Controls.UXScrollViewer)]
public ref class UXFileUpload : public Intersoft.Client.Framework.ISHeaderedSelectionControl, IControlIFramework, ILicensing, ISelectionISelectionItem  

Remarks

UXFileUpload is a high-performance file upload control conforming to RFC 1867 form-based data submission. Sports a professional and business-oriented styles, UXFileUpload delivers intuitive user interface with predefined toolbars, scrollable file list, progress bar and status bar which adheres to ISO usability standards.

The simplest UXFileUpload control can be defined with only two properties set, the ServiceUrl and the TargetFolder property. You set the ServiceUrl property to a value that determines the absolute web address where the server-side handler is configured to accept the file upload requests. The TargetFolder determines where the files should be stored in the server.

ClientUI includes a built-in ASP.NET server-side handler that you can use to accept the file upload requests from the UXFileUpload control. When using the built-in server-side handler, you can set the TargetFolder to a relative path in your web server, for an instance, ~/Upload.

You need to register the server-side upload handler in your ASP.NET web project in order for the UXFileUpload control to work properly. For more information configuring the server-side handler for the upload control, see How-to: Configure ASP.NET Server-side Handler for UXFileUpload.

The following code shows the most basic configuration of a UXFileUpload control.

XAML Copy Code
<Intersoft:UXFileUpload ServiceUrl="http://localhost:1825/UXFileUploadHandler.ashx"
                        TargetFolder="~/Upload"/>

When viewing the control in either design or runtime, you will find the results similar to the illustration in the following:

To learn more about UXFileUpload control and its features, see UXFileUpload.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.Framework.ISHeaderedSelectionControl
                           Intersoft.Client.UI.Aqua.UXInput.UXFileUpload

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.