You are here: User interface > User interface rules > Updating deprecated and outdated controls in sections

Updating deprecated and outdated controls in sections

Controls are considered outdated when a newer alternative is available.

Updating controls is required to effectively render your application user interface in HTML 5 document type (standards mode). Rendering your application in HTML5 document type ensures cross-browser and cross-platform compatibility and use of the latest HTML markup, among other benefits.

You can update a number of controls automatically. Other controls may require a manual update. For complete details, see the PDN article Upgrading deprecated and outdated controls.

Updating controls

If a section contains a deprecated control or a control for which there is an improved alternative, a warning displays, along with an Update Controls button.

Click Update Controls to automatically update deprecated controls in the section. Buttons with custom settings must be manually converted to use the pxButton control.

Deprecated Replacement
TextArea
TextAreaSmall
TextAreaWithExpandSmall
TextAreaExpanded
TextAreaWithExpand
TextAreaInTable TextAreaExpandedOverflow TextAreaWithExpandExpanded
pxTextArea
Date-Calendar
DateTime-Calendar
DateTime-
CalendarHarness DateCalendarForDataGrid
Export_Date
Export_DateTime
SecondsToHours
SelectDate
SelectDateTime
DateTime
DateTime-Default
DateTime-Full
DateTime-Long
DateTime-Medium
DateTime-Short
DateTime-Full-i18n
DateTime-Long-i18n
DateTime-Medium-i18n

DateTime-Short-i18n
Date
Date-Full
Date-Long
Date-Medium
Date-Short
Date-Full-i18n
Date-Medium-i18n
Date-Short-i18n
Time
Time-Default
Time-Medium Time-Short
TimeElapsed-HMS
TimeZoneList
Time-Full-i18n
Time-Long-i18n
Time-Medium-i18n
Time-Short-i18n

pxDateTime
PromptSelect
DynamicSelect
pxDropDown
RichTextEditor pxRichTextEditor
AutoComplete pxAutoComplete
URL pxLink
Checkbox pxCheckbox
RadioButtons pxRadioButton
Button pxButton

 

You can add custom controls in the Update Controls feature. Then, when a section containing these controls is opened, a message displays, along with the Update Controls button. This enables you to all update occurrences of that control, along with other deprecated controls already included in the update.

See Upgrading deprecated and outdated controls on the PDN for instructions.

Related topics Deprecated facilities