Kentico CMS 6.0 Context Help

Properties tab

Properties tab

Previous topic Next topic Mail us feedback on this topic!  

Properties tab

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

On this tab you can manage the properties of the web part and sort them into categories.

 

Move up (Up) - moves the field up, which changes its position in the configuration dialog of the web part.

Move down (Down) - moves the field down, which changes its position.

New category (NewCategory) - creates a new category for properties. Properties belonging to a category are grouped together and displayed under a header.

New attribute (AddWebPart) - adds a new property.

Delete item (Delete) - deletes the currently selected property.

 

In the right-hand part you can define individual properties:

 

Please note: Not all fields may be available depending on the selected Attribute type.

 

Database

Column name

Name of the attribute which will be displayed in the list of properties.

Attribute type

Type of value that the attribute should have.

Attribute size

Sets the maximum amount of characters that can be entered into the given property. Only available if the Attribute type is set to Text.

Allow empty value

Enable this if you do not wish the property to be checked for empty values. If not enabled, an asterisk (*) will be displayed next to the attribute.

Default value

Predefined value for the given attribute entered when a new web part is created.

Display attribute in the editing form

If checked, the given property will be available in the web part configuration dialog.

Field appearance

Field caption

Name of the property which will be displayed in the web part configuration dialog.

Form control type

Filters the options available in the Form control drop-down list below according to their type.

Form control

Sets the specific form control that should be used for interaction with the given property in the web part configuration dialog.

Field description

Tooltip and documentation that will be displayed for this property.

Has depending fields

Indicates that other properties of the web part may be updated dynamically depending on the value of the given property.

Depends on another field

Indicates that the behaviour (e.g. the available selection options) of the given property can be affected depending on the value of some other property of the web part.

Editing control settings

The settings in this section are used to perform additional configuration of the selected Form control, which affects the behaviour or appearance of the field. Please see individual tooltips for more information.

Validation

Regular expression

This regular expression will be used by the validator of the property. Only available if the selected Attribute type is Text or Long text.

Min/Max length

Sets the minimum/maximum length for entered values. Only available if the selected Attribute type is Text or Long text.

Min/Max value

Sets the minimum/maximum value that can be entered. Only available if the selected Attribute type is numerical.

From/To

Can be used to specify a time interval into which the entered value must belong. Only available if the selected Attribute type is Date and time.

Error message

Error message displayed if a user attempts to enter an invalid value into the property.

CSS styles

Caption style

Here you can add CSS styles for the caption of the given property.

Input style

Here you can add CSS styles for the input of the property.

Control CSS class

Sets the name of the CSS class use to style the property.

 

Any changes to field settings must be confirmed by clicking the Save Save field button at the top.

 

More resources can be found at:

 

Developer's Guide -> Development -> Web parts -> Overview

Developer's Guide -> Development -> Web parts -> Developing web parts

Developer's Guide -> Development -> Form controls