Upload Dialog Box: Conversion from ASPX to HTML and TypeScript
The following tables will help you to convert the ASPX elements that are related to the upload dialog box to HTML or TypeScript elements.
PXUploadDialog
The following table shows the correspondence between the PXUploadDialog element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
ASPX | HTML or TypeScript |
---|---|
PXUploadDialog
|
To display an upload dialog box, use the qp-upload-dialog
tag in the HTML template.
|
ID
|
Use the id property, which is available in the
config attribute of the qp-upload-dialog
control.
|
Key
|
Use the key property, which is available in the
config attribute of the qp-upload-dialog
control.
|
SessionKey
|
Use the sessionKey property, which is available in the
config attribute of the qp-upload-dialog
control.
|
Caption
|
Use the caption property, which is available in the
config attribute of the qp-upload-dialog
control.
|
Width
|
Use the width property, which is available in the
config attribute of the qp-upload-dialog
control.
|
AllowedFileTypes
|
Use the allowedTypes property, which is available in the
config attribute of the qp-upload-dialog
control.
|
IgnoreSize
|
Use the ignoreSize property, which is available in the
config attribute of the qp-upload-dialog
control.
|
AutoSaveFile
|
Use the autoSave property, which is available in the
config attribute of the qp-upload-dialog
control.
|
NamePrefix
|
Use the namePrefix property, which is available in the
config attribute of the qp-upload-dialog
control.
|
RenderLink
|
Use the renderLink property, which is available in the
config attribute of the qp-upload-dialog
control.
|
RenderComment
|
Use the renderComment property, which is available in the
config attribute of the qp-upload-dialog
control.
|
RenderImportOptions
|
Use the renderImportOptions property, which is available in
the config attribute of the qp-upload-dialog
control.
|
RenderCheckIn
|
Use the renderCheckIn property, which is available in the
config attribute of the qp-upload-dialog
control.
|
Obsolete ASPX Controls and Properties
The following table lists the obsolete ASPX elements that are related to the upload dialog box. You do not need to replace these ASPX elements with any HTML or TypeScript elements.
ASPX Control | Properties |
---|---|
PXUploadDialog |
|