Home
english
Home
.NET Server
Java Server
.NET Client
AJAX Client
AJAX Browser
Map Drive
Pricing
Contacts
info@ithit.com



AJAX File Browser Settings Object Reference

Settings Object

The Settings object represents initial configuration of the AJAX File Browser control. While most of the control settings could be set vial method calls you will use this settings to specify initial control look.

Property

Type

Description

Id string or object HTML control in which Ajax File Browser will be created.
Url string WebDAV server URL. It will be displayed as a root node in AJAX File Browser. If your server is located in a different domain read more about cross-origin requests here.
Style string Control style. Always provide size of the control. If your page runs in XHTML mode and you set height of the control to 100% all parent controls including HTML and BODY tags must be set to 100%:
<style type="text/css"> html, body { height: 100%;} </style>
FileIconsPath string Path to the folder where file icons are located. By default AJAX File Browser searches for file icons in 'icons/' folder.
MsOfficeTemplatesPath string Path to the folder where Microsoft Office templates are located. You must always specify full URL with domain. To verify that your server meets all Microsoft Office requirements read this article. This propery is required only if you run AJAX File Browser in IE and want to create Microsoft Office Word.
PluginsPath string Path to the folder in which the Java applet is located. The java applet opens files for editing directly from server as well as opens default OS file manager. By default AJAX File Browser searches for the applet in 'plugins/' folder. See more details here.
ProgressRefreshTime number Progress refresh time for IE and legacy user agents. When running in the legacy browsers the AJAX File Browser will request progress from server using REPORT request. Find more details here.
ShowFolders boolean Specifies if folders will be shown in files panel. Default is 'true'.
OnUploadAutoRefresh boolean When file finishes uploading the Ajax File Browser will rerequest data from server to refresh the Files View Panel.
NotAllowedCharacters string Specifies the list of characters that file and folder names can not contain. Default is ' \/:*?"<>|'. Find more details here.
SelectedFolder string Specifies node to be selected in a tree. The AJAX File Browser will load files and folders list in Files Panel and will automatically expand necessary tree nodes if required. To get and set selected folder after control is created use the GetSelectedFolder and  SetSelectedFolder methods.
SelectedItems Array<string> Sets items select in files panel. The tree will expand to show content of the necessary folder if required. Note that all items must be located in the same folder. All items located in the folder other than the first item will be ignored. To get and set list of selected items after control is created use the GetSelectedItems and SetSelectedItems methods.
Credentials Credentials object Login and password for Basic, Digest, Kerberos or Integrated Windows Authentication. Note that for coross-origin requests you should not specify parameters here, instead the user agent will present the login dialog if required.
Panels Panels object Object that represents Ajax File Browser panels: Folders Panel, Files View Panel, Toolbar, Address Bar, Upload Panel and Upload Progress Panel.
EnableHistoryNavigation boolean When set to true Back and Forward web browser buttons can be used to navigate through history. Default is true. Find more details here.
OpenHistoryLink boolean If set to true, the Ajax File Browser will navigate to path specified in hash segment of URL, otherwise hash is ignored. Default is true. Find more details here.

 

Panels Object 

Represents panels of Ajax File Browser. You will use this object to specify what panels should be initially visible and customize their appearance.

Property

Type

Description

Folders Folders object Represents Folders Panel object.
FilesView FilesView object Represents Files View Panel object.
Toolbar Toolbar object Represents Toolbar object.
AddressBar AddressBar object Represents Address Bar object.
UploadPanel UploadPanel object Represents Upload Panel object.
UploadProgressPanel UploadProgressPanel object Represents Upload Progress Panel object.

 

Folders Panel Object

Represents Folders panel that contains folders tree.

Property

Type

Description

Show boolean Specifies if Folders panel is visible. Default is true.

 

Files View Panel Object

Represents Files panel that contains list of files and folders or thumbnails.

Property

Type

Description

Show boolean Specifies if Files View panel is visible. Default is true.
Order Array<string> Array of column names for setting columns order.
Columns Array<Column> Array of columns in Details view mode.

 

Menu Object

Represents Ajax File Browser context menu. This object is a parent for menu items that form context menu and is passed to OnShowMenu handler.

Property

Type

Description

Id string Id. Currently context menus with following identifiers exist:
ID Description
FoldersPanelMenu Folders panel context menu.
FilesViewPanelGeneralMenu Files View panel context menu that is displayed when user right-clicks on Files View panel empty space.
FilesViewPanelFolderMenu Files View panel context menu that is displayed when user right-clicks on a folder, when single folder is selected.
FilesViewPanelFileMenu Files View panel context menu that is displayed when user right-clicks on a file, when single file is selected.
FilesViewPanelMultiselectionMenu Files View panel context menu that is displayed when several items are selected.
UploadProgressPanelMenu Upload Progress panel context menu.
Children Array Array of MenuItems. Each can be a menu item or menu separator.

  

Menu Item Object

Represents menu item or menu separator.

Property

Type

Description

Id string Id of the menu item.
Type string Can be either 'MenuItem' or 'MenuSeparator'.
Text string Text displyed on the item.
OnClick function Function called when menu item is selected.
Disabled boolean If set to true the item is disabled. Default is false.

 

Toolbar Panel Object

Represents Ajax File Browser Toolbar.

Property

Type

Description

Show boolean Specifies if Toolbar panel is visible. Default is true.
Order Array<string> Array of button names for setting buttons order.
Columns Array<Button> Array of toolbar buttons.
  

Address Bar Panel Object

Represents Ajax File Browser Address Bar.

Property

Type

Description

Show boolean Specifies if Address Bar panel is visible. Default is true.

 

Upload Panel Object

Represents panel used to upload files.

Property

Type

Description

Show boolean Specifies if Upload panel is visible. Default is true.

 

Upload Progress Panel Object

Represents Upload Progress Panel that contains information about files that are being uploaded.

Property

Type

Description

Show boolean Specifies if Upload Progress panel is visible. Default is true.
Order Array<string> Array of column names for setting columns order.
Columns Array<Column> Array of columns.

 

Column Object

Represents column in Files View Panel and Upload Progress Panel.

Property

Type

Description

Id string Id of the column. By default columns with following Ids exist:
In Files View Panel: Icon, Name, Size, Type, DateModified
In Upload Progress Panel:  Icon, Source, Destination, ProgressBar, Progress, Uploaded, FileSize, Speed, TimeLeft, TimeElapsed
Show boolean Specifies if column is visible. Default is true.
Text string Column caption.
Width string Width of the column. You can specify width in pixels, for example '300px' or set this property to 'auto'. In case of 'auto' the column will be stretched to occupy all available space that left in grid.
CellStyles string CSS style that will be applied to the column.
Noresize boolean If this property is set to 'false' the column will be resizable. Default is 'false'.
Formatter function Function used to format content of the column.

 

Button Object

Represents a button on a Toolbar panel. A button can contain text, image, text+image or any custom HTML.

Property

Type

Description

Id string Id of the button. By default buttons with following Ids exist: ViewsButton, FoldersButton, UpButton.
Show boolean Specifies if button is visible. Default is true.
Text string Button text.
IconClass string CSS class that will be used to display button icon.
Tooltip string Button tooltip.
OnClick function Function called when button is clicked.
Type string Currently this property must be set to 'Button'.
InnerHTML string Any custom HTML to be displayed instead of a button.

 


Selected Customers:
Country: Norway
DnB NOR Group
Country: Finland
Bank of Finland
USA
Symantec
Country: Sweden
Toyota
Country: Denmark
Danfoss Group
Country: USA
Microsoft
Country: Ukraine
Raiffeisen Bank
Country: USA
Siemens
Country: Ukraine
OTP Bank
Country: USA
Intel Corporation
Country: Austria
Austrian Federal Railways
Country: Israel
Autodesk, Inc.
Country: USA
U.S. Customs and Border Protection Agency
Home .NET Server Java Server .NET Client AJAX Client AJAX Browser Map Drive Pricing Contacts

Updated: Friday, September 16, 2011