Example   Source
  Menu  | 
<<
>>
 |  Run as  
Documents and images can be maintained by uploading them to the file system and storing the path in the database or by uploading the file directly into a database column capable of storing binary data. In the first example the name of the folder into which the files are uploaded is specified by the uploadRootFolder property. In both examples the types of files that can be uploaded are restricted using the uploadExtFilter property. The maximum size of thumbnail images can be controlled via the column maxThumbnailHeight property. The sample also demonstrates use of the onFileUploaded event to assign a default description.
Storing images in the file system
Storing images in the database
Storing documents in the file system
Storing documents in the database