TIWCGJQFileUploadOptions Class
The FileUpload options class
IWCGJQCommon.TIWCGJSon
IWCGJQFileUpload.TIWCGJQFileUploadOptions
IWCGJQMFileUpload.TIWCGJQMFileUploadOptions
The TIWCGJQFileUploadOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create(TCollection) | |
![]() | CreateSingle(TPersistent,string) | Initializes a new instance of the TIWCGJQFileUploadOptions class. (Overrides TIWCGJSon.CreateSingle(TPersistent,string).) |
Name | Description | |
---|---|---|
![]() | AcceptFiles | Used by the file selection dialog. Restrict the valid file types that appear in the selection dialog by listing valid content-type specifiers here (eg: .jpg) |
![]() | Action | Url of the server-side upload script, should be on the same domain |
![]() | AllowedExtensions | For validation // ex. ['jpg', 'jpeg', 'png', 'gif'] or [] |
![]() | AutoUpload | Set to false if you want to be able to begin uploading selected/queued files later, by calling uploadStoredFiles(). |
![]() | Button | Specify an element to use as the "select files" button. Note that this may NOT be a <button>, otherwise it will not work in Internet Explorer. |
![]() | CancelButtonText | Cancel button text |
![]() | CancelCaption | Caption for cancel |
![]() | CanOverrideFile | If the FileName can be overrided |
![]() | Caption | Represents property |
![]() | CGJSContainer | Represents property |
![]() | ClassData | Represents property |
![]() | Classes | Classes used to get elements from templates |
![]() | CustomHeaders | Additional headers sent along with the XHR POST request. Note that is option is only relevant to the ajax/XHR uploader. |
![]() | Debug | Set to true to output server response to console |
![]() | DisableCancelForFormUploads | If true, the cancel link does not appear next to files when the form uploader is used. This may be desired since it may not be possible to interrupt a form-based upload in some cases. |
![]() | DragText | Drag text |
![]() | Element | Represents property |
![]() | FailedCaption | Failed Text |
![]() | FailUploadText | Fail upload text |
![]() | FileTemplate | Template for one item in file list |
![]() | FileUpload | Represents property |
![]() | FocusClass | Focus css for button |
![]() | HoverClass | Hover css for button |
![]() | InputName | This usually only useful with the ajax uploader, which sends the name of the file as a parameter, using a key name equal to the value of this options. In the case of the form uploader, this is simply the value of the name attribute of the file's associated input element. |
![]() | InstList | Represents property |
![]() | IsStored | Represents property |
![]() | JSon | Return the Interface of SuperObject (ISuperObject) (Inherited from TIWCGJSon.) |
![]() | JSonEvents[string] | Represents property |
![]() | List | Represents property |
![]() | MaxConnections | Maximum allowable concurrent uploads. |
![]() | MemberList | Represents property |
![]() | Messages | Error messages |
![]() | MinSizeLimit | Each file min size in bytes This option isn't supported in all browsers |
![]() | Multiple | If true multiple files are allowed |
![]() | MultipleFileDropNotAllowedMessage | Message that appears when you have Multiple = true, and tries to drag more than one file. |
![]() | Name | Represents property |
![]() | OnCancel | Event fired on cancel upload |
![]() | OnComplete | Event fired on upload complete |
![]() | OnError | Called whenever an exceptional condition occurs (during an upload, file selection, etc). |
![]() | OnExtraDropzones | Useful if you'd like to to designate additional dropozones for file input. Of course, this is not relevant if the form uploader is used. |
![]() | OnListElement | If is empty, ServerController.UserCacheDir will be used. If specified, if contains ':' or '\\' used an absolute path, if not will be relative to ServerController.ContentPath (GServerController.FilesDir in IW<=10). if set, will be used instead of qq-upload-list in template |
![]() | OnProgress | Event fired on progress |
![]() | OnShowMessage | On error message show |
![]() | OnSubmit | Event fired on submit |
![]() | OnUpload | Event fired on upload |
![]() | Owner | Represents property |
![]() | Params | Additional data to send, name-value pairs |
![]() | PropCount | Represents property |
![]() | PropIndexByName[string] | Represents property |
![]() | PropList | Represents property |
![]() | PropName | Represents property |
![]() | PropNameByIndex[Integer] | Represents property |
![]() | ShowUploadedFileList | Show/Hide uploaded file list |
![]() | SizeLimit | Each file size limit in bytes This option isn't supported in all browsers |
![]() | SObj | Represents property |
![]() | Template | Template for FileUpload |
![]() | Tip | Tip Text on drag & drop |
![]() | UploadButtonText | Upload button text |
![]() | UploadPath |
|
Name | Description | |||
---|---|---|---|---|
![]() | AddBooleanMember(string,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddColorMember(string,TIWCGColor,Boolean,Boolean) | Represents method | ||
![]() | AddCurrencyMember(string,Currency,Boolean,Boolean) | Represents method | ||
![]() | AddDoubleMember(string,Double,Boolean,Boolean) | Represents method | ||
![]() | AddDynObjListMember(string,Boolean,Boolean) | Represents method | ||
![]() | AddEnumMember(string,string[],Byte,Boolean,Boolean) | Represents method | ||
![]() | AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean) | Represents method | ||
![]() | AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean) | Represents method | ||
![]() | AddHTML5(TIWHTMLTag) | Represents method | ||
![]() | AddIntegerMember(string,Integer,Boolean,Boolean) | Represents method | ||
![]() | AddJSonMember(string,TCGJSon,Boolean,Boolean) | Represents method | ||
![]() | AddMembers | The procedure add jquery properties.
| ||
![]() | AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddSimpleArrayMember(string,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddStringMember(string,string,Boolean,Boolean) | Represents method | ||
![]() | AddVariantMember(string,Variant,Boolean,Boolean) | Represents method | ||
![]() | AfterConstruction | Represents method | ||
![]() | Assign(TPersistent) | Represents method | ||
![]() | CancelFileUpload(Integer) | Cancel the upload by File id | ||
![]() | CheckJSonMember(Integer) | Represents method | ||
![]() | ClearStoredFiles | Clears the internal list of stored items. Only applies with A utoUpload is false | ||
![]() | ConvertEnumToString(string) | Represents method | ||
![]() | ConvertSetToString(string,TCGStringArray) | Represents method | ||
![]() | FreeJSonObj(Integer) | Overloaded. Represents method | ||
![]() | FreeJSonObj(string) | Overloaded. Represents method | ||
![]() | GetBooleanValue(Integer) | Represents method | ||
![]() | GetCGJSContainer | Represents method | ||
![]() | GetColorValue(Integer) | Represents method | ||
![]() | GetCurrencyValue(Integer) | Represents method | ||
![]() | GetCustomJq(string,ISuperObject) | Represents method | ||
![]() | GetDoubleValue(Integer) | Represents method | ||
![]() | GetDynObjListValue(Integer) | Represents method | ||
![]() | GetEnumAsString(Integer) | Represents method | ||
![]() | GetEnumerValue(Integer) | Represents method | ||
![]() | GetEnumSetValue(Integer,Pointer) | Represents method | ||
![]() | GetFixedScript(TIWCGJSonFunc,Boolean) | Represents method | ||
![]() | GetFuncValue(Integer) | Represents method | ||
![]() | GetHTMLName | Represents method | ||
![]() | GetImplComponent | Represents method | ||
![]() | GetIntegerValue(Integer) | Represents method | ||
![]() | GetIsStored | Represents method | ||
![]() | GetItemIndex | Represents method | ||
![]() | GetIWCLName | Represents method | ||
![]() | GetJSon | Represents method | ||
![]() | GetJSonByType(Boolean,Boolean) | Represents method | ||
![]() | GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | ||
![]() | GetJSonValue(Integer) | Represents method | ||
![]() | GetJSonValueObj(Integer) | Represents method | ||
![]() | GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string) | Represents method | ||
![]() | GetMemberSetterHandler(TObject,TCGJSonMember) | Represents method | ||
![]() | GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript) | Represents method | ||
![]() | GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean) | Represents method | ||
![]() | GetObjListValue(Integer) | Represents method | ||
![]() | GetObjValue(Integer) | Represents method | ||
![]() | GetOwner | Represents method | ||
![]() | GetPropName | Represents method | ||
![]() | GetSimpleArrayValue(Integer) | Represents method | ||
![]() | GetStringValue(Integer) | Represents method | ||
![]() | GetVariantValue(Integer) | Represents method | ||
![]() | InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | ||
![]() ![]() | IsArray | Represents method | ||
![]() | IsBooleanStored(Integer) | Represents method | ||
![]() | IsColorStored(Integer) | Represents method | ||
![]() | IsCurrencyStored(Integer) | Represents method | ||
![]() | IsDoubleStored(Integer) | Represents method | ||
![]() | IsEnumerStored(Integer) | Represents method | ||
![]() | IsEnumSetStored(Integer) | Represents method | ||
![]() | IsFuncStored(Integer) | Represents method | ||
![]() | IsIntegerStored(Integer) | Represents method | ||
![]() | IsJSonObjStored(string) | Represents method | ||
![]() | IsJSonStored(Integer) | Represents method | ||
![]() | IsObjStored(Integer) | Represents method | ||
![]() | IsStringStored(Integer) | Represents method | ||
![]() | IsVariantStored(Integer) | Represents method | ||
![]() | jsCancelFileUpload(Integer) | Represents method | ||
![]() | jsClearStoredFiles | Represents method | ||
![]() | jsGetInProgress | Represents method | ||
![]() ![]() | JSonEscape | Represents method | ||
![]() ![]() | JSonIdent | Represents method | ||
![]() ![]() | JSonNameQuote | Represents method | ||
![]() | jsSetEnabled(boolean) | Represents method | ||
![]() | jsSetParams(string) | Represents method | ||
![]() | jsUploadStoredFiles | Represents method | ||
![]() | ResetProps | Represents method | ||
![]() | SetBooleanValue(Integer,Boolean) | Represents method | ||
![]() | SetColorValue(Integer,TIWCGColor) | Represents method | ||
![]() | SetCurrencyValue(Integer,Currency) | Represents method | ||
![]() | SetDoubleValue(Integer,Double) | Represents method | ||
![]() | SetDynObjListValue(Integer,TIWCGJSonDynObjList) | Represents method | ||
![]() | SetEnabled(boolean) | Represents method | ||
![]() | SetEnumerValue(Integer,Byte) | Represents method | ||
![]() | SetEnumSetValue(Integer,Pointer) | Represents method | ||
![]() | SetFuncValue(Integer,TIWCGJSonFunc) | Represents method | ||
![]() | SetIntegerValue(Integer,Integer) | Represents method | ||
![]() | SetJSonValue(Integer,TCGJSon) | Represents method | ||
![]() | SetObjListValue(Integer,TIWCGJSonList) | Represents method | ||
![]() | SetObjValue(Integer,TIWCGJSon) | Represents method | ||
![]() | SetParams(string) | Represents method | ||
![]() | SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray) | Represents method | ||
![]() | SetStringValue(Integer,string) | Represents method | ||
![]() | SetVariantValue(Integer,Variant) | Represents method | ||
![]() | StoreProperty(PPropInfo,TObject) | Represents method | ||
![]() | SupportsSetter(TObject,TCGJSonMember) | Represents method | ||
![]() | UploadStoredFiles | Begin uploading all queued items. |