DataDisplayControl
DataDisplayControl collects SYSPRO data and displays it through a template; the legacy default is a tile-listing template.
Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
DataSourceNot specified | Not specified | Sets the data source. | |
DisplayControlNot specified | Not specified | Sets the display control. | |
EmptyMessageTextString | Not specified | Sets the empty-results message. | |
FilterDataTableNot specified | Not specified | Controls data-table filtering. | |
PricingControlPathString | Not specified | Sets the pricing control path. | |
ShowHeadersBoolean | Not specified | true, false | Controls header display. |
ShowIfNoRecordsBoolean | Not specified | true, false | Controls display when no records are returned. |
TemplatePathString | Not specified | Sets the display template path. | |
UseAllItemCharacteristicsBoolean | Not specified | true, false | Controls use of item characteristics. |
SitePages.config example
The following example loads DataDisplayControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: DataSource, DisplayControl, EmptyMessageText, FilterDataTable, PricingControlPath, ShowHeaders, ShowIfNoRecords, TemplatePath, UseAllItemCharacteristics.
<Control src="DataDisplayControl.ascx" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
DataDisplayControl inherits listing behavior from ListingControl and shared conditions from CyberStoreBaseControl.