Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- EO.Base
- EO.Base.UI
- EO.Extensions
- EO.Pdf
- EO.Pdf.Acm
- EO.Pdf.Contents
- EO.Pdf.Drawing
- EO.Pdf.Mvc
- EO.Web
- EO.Web
- Classes
- AJAXPostedFile Class
- AJAXPostedFileList Class
- AJAXUploader Class
- AJAXUploader Class
- AJAXUploader Members
- AJAXUploader Constructor
- Properties
- Properties
- AllowedExtension Property
- AutoPostBack Property
- AutoUpload Property
- BrowseButtonStyle Property
- BrowseButtonText Property
- CancelButtonStyle Property
- CancelButtonText Property
- ClientSideOnCancel Property
- ClientSideOnChange Property
- ClientSideOnDone Property
- ClientSideOnFileSelected Property
- ClientSideOnProgress Property
- ClientSideOnStart Property
- DeleteButtonStyle Property
- DeleteButtonText Property
- FinalFileList Property
- FinalFileLocation Property
- HideDisabledToolBarButton Property
- LayoutTemplate Property
- MaxDataSize Property
- MaxFileCount Property
- PostedFileLabelFormat Property
- PostedFiles Property
- ProgressBarSkin Property
- ProgressDialogID Property
- ProgressTextFormat Property
- Rows Property
- SavePostedFileList Property
- StartToolBarButton Property
- StopToolBarButton Property
- TempFileLocation Property
- TextBoxStyle Property
- UploadButtonStyle Property
- UploadButtonText Property
- UseLinkButton Property
- Methods
- Events
- AJAXUploaderProgressDialog Class
- ASPXToPDF Class
- BaseMenuItem Class
- BaseMenuItemGroup Class
- BaseNavigator Class
- BorderImages Class
- ButtonColumn Class
- Calendar Class
- CalendarDay Class
- Callback Class
- CallbackEventArgs Class
- CallbackPanel Class
- CallbackTrigger Class
- CallbackTriggerCollection Class
- Captcha Class
- CheckBoxColumn Class
- ClientTemplate Class
- ColorPicker Class
- ComboBox Class
- Consts Class
- ContextMenu Class
- Control Class
- ControlFrame Class
- CustomColumn Class
- CustomItem Class
- DataBinding Class
- DataBindingCollection Class
- DataBoundControl Class
- DateCollection Class
- DatePicker Class
- DateTimeColumn Class
- DayRenderEventArgs Class
- DefaultClientTemplateAttribute Class
- DeleteCommandColumn Class
- DesignOptions Class
- Dialog Class
- Downloader Class
- DownloadEventArgs Class
- DynamicDownloadContent Class
- EditableLabel Class
- EditCommandColumn Class
- Editor Class
- EditorDialogContent Class
- EditorDialogContentCollection Class
- EditorDialogTemplate Class
- EditorDialogTemplateCollection Class
- EditorStyle Class
- EditorStyleCollection Class
- EditorTabButtonStyles Class
- Effect Class
- ElementPaddings Class
- ElementStyle Class
- Emoticon Class
- FileExplorer Class
- FileExplorerEventArgs Class
- FileExplorerHolder Class
- Floater Class
- Flyout Class
- FontInfo Class
- Grid Class
- GridCell Class
- GridCellCollection Class
- GridColumn Class
- GridColumnCollection Class
- GridColumnEventArgs Class
- GridCommandEventArgs Class
- GridItem Class
- GridItemCollection Class
- GridItemEventArgs Class
- GridItemStyleSet Class
- GridItemStyleSetCollection Class
- ImageButtonInfo Class
- ImageInfo Class
- ImageZoom Class
- InlineStyle Class
- ListBox Class
- ListBoxItem Class
- ListBoxItemCollection Class
- ListBoxItemContainer Class
- ListItemEventArgs Class
- LookItemCollection Class
- MaskedEdit Class
- MaskedEditColumn Class
- MaskedEditSegment Class
- MaskedEditSegmentCollection Class
- MaskedEditValidator Class
- Menu Class
- MenuGroup Class
- MenuItem Class
- MenuItemCollection Class
- MenuItemImages Class
- MenuLookItemCollection Class
- MsgBox Class
- MsgBoxButton Class
- MultiPage Class
- MultiPageEventArgs Class
- NavigationItem Class
- NavigationItemCollection Class
- NavigationItemEventArgs Class
- NavigationItemGroup Class
- NavigationItemImages Class
- NavigationItemText Class
- PageContextMenu Class
- PageView Class
- PageViewCollection Class
- PathMapping Class
- PathMappingCollection Class
- PopupCalendar Class
- ProgressBar Class
- ProgressTaskEventArgs Class
- RangeSlider Class
- Rating Class
- RowNumberColumn Class
- Runtime Class
- ScriptEvent Class
- ScriptManager Class
- Slide Class
- SlideItem Class
- SlideItemCollection Class
- SlideItemEventArgs Class
- SlideMenu Class
- Slider Class
- SliderBase Class
- SliderLabel Class
- SliderLabelCollection Class
- SpecialLookIDs Class
- SpellChecker Class
- SpellCheckerDialog Class
- SpellCheckerEventArgs Class
- Splitter Class
- SplitterPane Class
- StaticColumn Class
- TabItem Class
- TabItemCollection Class
- TabItemGroup Class
- TabLookItemCollection Class
- TabStrip Class
- TemplatedPopup Class
- TextBoxColumn Class
- ToolBar Class
- ToolBarEventArgs Class
- ToolBarItem Class
- ToolBarItemCollection Class
- ToolTip Class
- TreeLookNodeCollection Class
- TreeNode Class
- TreeNodeCheckStateChangedEventArgs Class
- TreeNodeCollection Class
- TreeNodeGroup Class
- TreeNodeMovedEventArgs Class
- TreeNodeRenameEventArgs Class
- TreeView Class
- TreeViewCheckBoxImages Class
- TreeViewLineImages Class
- TreeViewMargin Class
- WebControl Class
- WebControlBase Class
- Structures
- Enumerations
- Delegates
- EO.WebBrowser
- EO.WebBrowser.DOM
- EO.WebEngine
- EO.WinForm
- EO.Wpf
- EO.Wpf.Gauge
- EO.Wpf.Gauge.Shapes
- EO.Wpf.Primitives
- EO.Wpf.Themes.Aero
- EO.Wpf.Themes.Classic
- EO.Wpf.Themes.Luna
- EO.Wpf.Themes.Metro
- EO.Wpf.Themes.Royale
- JavaScript API Reference
- .NET API Reference
LayoutTemplate Property |
Gets or sets the AJAXUploader's layout template.
The default UI of an AJAXUploader consists of one or more file input elements, a cancel button, a progress information area and an uploaded file list area. You can use LayoutTemplate to change this layout.
The LayoutTemplate can contain any valid HTML or ASP.NET server control as well as several pre-defined placeholders. At runtime, the placeholders will be replaced with the corresponding HTML elements. For example, the following placeholder will be replaced with file input elements at runtime.
<asp:PlaceHolder runat="server" id="InputPlaceHolder"></asp:PlaceHolder>
Place Holder ID | Replaced With |
---|---|
InputPlaceHolder | File input element(s). |
ProgressTextPlaceHolder | Progress text. The text format is specified by ProgressTextFormat. |
PostedFilesPlaceHolder | Posted file list. The format of each item is specified by PostedFileLabelFormat. |
In addition to the placeholders, a number of predefined control IDs are also supported. These predefined control IDs trigger a certain predefined action. For example, the following button in LayoutTemplate would automatically become the uploader's Cancel button:
<asp:Button runat="server" ID="CancelButton" Text="Cancel Upload" />
Control ID | Remark |
---|---|
UploadButton | Start upload. Must be a Button, LinkButton or an ImageButton control. |
CancelButton | Cancel upload. Must be a Button, LinkButton or an ImageButton control. |
DeleteButton | Delete selected files that have already been uploaded. Must be a Button, LinkButton or an ImageButton control. |
ProgressBar | The progress bar for the uploader. Must be a ProgressBar control. |