Click or drag to resize
FileItem Constructor (String, String, Int64, String, String, String, PathPermissions)
Creates an instance of the FileItem class.

Namespace: Kettic.AspNet.Controls.Widgets
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public FileItem(
	string name,
	string extension,
	long length,
	string location,
	string url,
	string tag,
	PathPermissions permissions
)

Parameters

name
Type: SystemString
The name of the file item. The value of this property will be displayed in the FileBrowser control.
extension
Type: SystemString
The file extension of the file item.
length
Type: SystemInt64
The size of the file item in bytes.
location
Type: SystemString
The virtual path to the file item (needs to be unique). When the value is string.Empty, the location is the parent's full path + the name of the file.
url
Type: SystemString
The url which will be inserted into the KaxEditor content area.
tag
Type: SystemString
The tag of the file item. Used when the virtual path must be different than the url of the item. When the value of this property is set, the FileBrowser control uses it instead of the combined virtual path.
permissions
Type: Kettic.AspNet.Controls.WidgetsPathPermissions
The permissions on the file item.
See Also