You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > AssetControl Class > AssetControl Properties
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
AssetControl Properties

The properties of the AssetControl class are listed here.

 
Name 
Description 
 
The ID of the asset you want to update. This property is used when the UploadType property is set to Update.  
 
The ID of the folder where assets are added. This property is used when the UploadType property is set to Add. Root is 0.  
 
Gets or Sets the QueryString parameter to read a Content ID or Folder ID dynamically. Content ID will be read if mode is Update. Folder ID will be read if mode is Add. Set to String.Empty if you wish to always display the default DocumentID or FolderID (static.)  
 
Setting this control to 1 (one) restricts the control so only images can be uploaded.

  • 1 (one) - restrict the control to uploading images only.
  • 0 (zero) - upload all types of assets.

 

 
Allows you to restrict the type of asset that can be uploaded by its extension. For example, to restrict the control to uploading Word documents, enter doc in the property.
Important: When using this property, enter only the extension’s letters not the wildcard (*) or the dot (.).
You can add multiple extensions by creating a comma separated list of extensions. Ektron recommends limiting the list to five extensions.  
 
The ID of the taxonomy where assets are added.  
 
Selects whether the control will add a document to a folder or overwrite an existing document. Select Add to add assets and use the DefaultFolderID property. Select Update to update assets.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!