Label: Conversion from ASPX to HTML and TypeScript
The following tables will help you to convert the ASPX elements that are related to the label control to HTML or TypeScript elements.
PXLabel
The following table shows the correspondence between the PXLabel 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 |
---|---|
PXLabel
|
For labels with no text that are used to organize layout, use the appropriate templates instead. For details, see Form Layout: Predefined Templates. |
PXLabel
|
For labels that display an informational message, use the
qp-info-box tag. For more details, see Error, Warning, or Informational Notification: General Information.
|
Text
|
Use the caption property of the
qp-info-box control.
|
Obsolete ASPX Controls and Properties
The following table lists the obsolete ASPX elements that are related to the label control. You do not need to replace these ASPX elements with any HTML or TypeScript elements.
ASPX Control | Properties |
---|---|
PXLabel |
|