FieldValue Tag

Purpose

The GEN:FieldValue tag places the value of a database field on the page.  Use the Property Sheet to specify the actual field whose value is to be displayed.

The FieldValue tag displays field values from a database record.  These controls can display data as well as input data.

The FieldValue tag can be used either by itself, within a Record tag or within a Table tag.  If the FieldValue tag is used by itself, the page will incorporate each FieldValue within an ASP.NET control tag for a record.  To optimize the application, you can enclose the FieldValue code generation tag within a Record code generation tag.  Enclosing the FieldValue tag within a Record tag is faster because the FieldValue tags can inherit properties from the Record tag’s properties.

Creates

The FieldValue code generation tag creates ASP.NET control tags in the ASPX or ASCX file.  The specific ASP.NET control tags created depend on the field value type (e.g., text, image).  The primary ASP.NET control tag may be followed by some validator control tags (e.g., RequiredFieldValidator).

Examples

<GEN:FieldValue Name=“FirstName”/>

Properties

FieldValue controls have many properties:

[Application Generation] properties (Iron Speed Designer)

[Events] properties (Iron Speed Designer)

[FCKeditor] properties (Iron Speed Designer

[Formatting] properties (Iron Speed Designer)

[Images] properties (Iron Speed Designer)

[Pop Ups] properties (Iron Speed Designer)

[Validators] properties (Iron Speed Designer)

ASP.NET Properties

See ASP.NET Control Properties for details.

[Application Generation] properties (Iron Speed Designer)

These properties control specific types of controls created by Iron Speed Designer.

Property

Description

Checked value

CheckedValue

The value saved into the database when a selected check box field is saved.  “Checked value” is generally set to ‘Yes’.  While “Checked value” can be set to anything, typical values are True, T, Yes, and 1.

Applies To

Check Box

See Also

“Treat other values as checked”
“Unchecked value”

Control type

The type of control to display.

See FieldValue Control Type Options for details.

Database field

Field

The database field to be displayed in the format:

<TABLE>.<FIELD>

See Database Field Options for details.

Applies To

Dropdown list
Radio button list
List box
Label
Literal
Text box
Image button
Link button
Push button
File Upload
File Download
Image

Date selector type

DateSelectorType

The type of calendar date selector control displayed in date fields.  A Date Selector control presents a calendar-like interface that lets application users select date values.

Default

Use the Application Generation Options dialog settings.

AutomaticPopUp

Automatically display the calendar date picker when the user clicks in the text box control.

CalendarWithButton

Displays an icon button adjacent to the text box control.  The calendar date picker is displayed when the user clicks the button.

None

The calendar date picker is disabled.

The calendar’s date format is determined by the “culture” attribute in your application’s Web.config file, e.g.:

<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" . . .

You can set the culture attribute on the Languages step in the Application Wizard.

Applies To

Text box (date fields only)

Editor type

RichTextEditorType

Specifies which text editor control to use.

FCKEditor

FCKEditor is an independently provided third-party control.

ASP Multi-line

The ASP.NET multi-line control available in the Microsoft .NET Framework.

Default

Use the Application Generation Options setting.

 

Applies To

Text Box

File name field

FilenameField

The companion database field containing the file name of an uploaded or downloaded file.  Used for the File Download and FileUpload controls, this companion database field must be in the same table as the field containing the actual file contents.

File Upload

For File Upload, the file name of the uploaded file is stored in this field.  The File Upload control displays a separate text box data entry field for entering a file name to upload into the database.

File Download

For File Download, the value of this field displays a file download link that when clicked opens (downloads) the file.  The File Download control displays a clickable link to open (download) the file.

Applies To

File Download
File Upload

Increment / decrement buttons

EnableIncrementDecrementButtons

Specifies whether increment and decrement buttons are displayed.

True

Increment and decrement buttons are created for the Page Size text box in the pagination control, Date fields, Currency fields, and other Numeric fields.  Increment and decrement buttons for Date fields will only be created when the date is set to the default date format or “d”.  Increment and decrement buttons are not created for any other date format.

False

Increment and decrement buttons are not created.

Increment and decrement buttons are enabled by default if this property is not present.  You must explicitely set this property to False if you do not want increment and decement buttons for the designated field.

You can globally disable the generation of increment and decrement buttons in the Application Generation Options dialog (Tools, Application Generation Options...).  If disabled globally in the Application Generation Options dialog, no increment and decrement buttons will be created anywhere in your application regardless of the “Encrement / decrement buttons” property setting for any individual FieldValue tag.

Applies To

Text box

Large list selector threshold

MinListItems

The minimum number of items required before the large list selector control is automatically displayed along side the FieldValue component.  “Large list selector threshold” applies only when the FieldValue control’s “Control type” property is Dropdown List.

The Large List Selector is available for foreign key fields used for data entry.  For example, you can display a large list selector if your table has a Category ID field that references a separate “Categories” lookup table.  Large list selectors are not available on fields that do not have a foreign key.

Large list selectors are available only for data entry fields; they are not available for filters.  Note: Large list selectors are available only for data entry fields; they are not available for filters.

“Large list selector threshold” can be used in conjunction with “Maximum generated items” to construct various scenarios.  For example, you can set “Maximum generated items” to 500 and “Large list selector threshold” to 100.  In this case, the dropdown list will contain upto 500 items but the large list selector’s “More” link will appear next to the control once the 100 item threshold is reached.

Applies To

Dropdown List
List Box
Radio Button List

Maximum generated items

MaxGeneratedItems

The maximum number of database query values automatically populated in the control.  This applies to list-style controls, such as dropdown lists and list boxes.  The default value used by Iron Speed Designer is 500 entries.  However, you can change this threshold to any value desired on a control-by-control basis with “Maximum generated items”.

Note:  If the number of entries at run-time exceeds the value of the “Large list selector threshold” property, a More link will be placed next to the field that, when clicked, displays the Large List Selector.  If the “Large list selector threshold” is not specified, then “Maximum generated items” is used as the Large List Selector threshold.

If you wish to disable the Large List Selector for a particular control, set “Large list selector threshold” to a very large value.

Applies To

Dropdown List
List Box
Radio Button List

Security

RequiredRoles

Any security roles configured for an individual field.  Individual roles are separated by a semi-colon (‘;’) and are wrapped in tags corresponding to the role management type, e.g.:

<SP>/ | TestGroup1</SP><WUG>Ironspeed/Admin;Ironspeed/Engeniiring</WUG>

Applies To

Text Box
Dropdown List
List Box
Radio Button List
Button
Label
Literal

Treat other values as checked

TreatOtherValuesAsChecked

Specifies whether a check box field is displayed as selected when other values are encountered in the database.

Check box fields can be displayed as either selected (checked) or unselected (unchecked).  The “Checked value” and “Unchecked value” properties designate the database values that signify whether the check box should be selected.  These are typically values such as ‘True’ and ‘False’ or ‘1’ and ‘0’.

In some cases, the underlying database field may have values other than those specified by the “Checked value” and “Unchecked value” properties, e.g., the values may be ‘True’, ‘False’, and ‘Not Sure’.

True

Treats values other than those assigned via “Checked value” and “Unchecked value” as checked (True).

False

Treates values other than those assigned via “Checked value” and “Unchecked value” as unchecked (False).

If a hypothetical database column has a value of ‘Not Sure’, then the check box would be shown as checked if the “Treat other values as checked” property is set to ‘True’.  The check box would be shown as unchecked if the “Treat other values as checked” property is set to ‘False.’

Applies To

Check Box

See Also

“Checked value”
“Unchecked value”

Unchecked value

UncheckedValue

Specifies the value saved into the database when an unselected check box field is saved.  “Unchecked value” is generally set to ‘No’.  While “Unchecked value” can be set to anything, typical values are False, F, No, and 0.

Applies To

Check Box

See Also

“Checked value”
“Treat other values as checked”

[Events] properties (Iron Speed Designer)

Property

Description

OnClick

JavaScript executed when the control is clicked or selected.

Applies To

Checkbox

OnKeyPress

JavaScript executed when a key is pressed.

Applies To

Dropdown List

[FCKeditor] properties (Iron Speed Designer

These properties control the behavior of the FCKeditor rich text editor control.

Property

Description

Display tool bar

RichTextEditorShowToolbar

Specifies whether editor’s menu toolbar should be shown when the page is opened for editing.

True

Display the toolbar.

False

Do not display the toolbar.

Default

Use the Application Generation Options setting.

 

Applies To

Text Box

Editor height

RichTextEditorHeight

The height of the editor control window, in pixels.

Default

Use the Application Generation Options setting.

 

Applies To

Text Box

Editor width

RichTextEditorWidth

The width of the editor control window, in pixels.

Default

Use the Application Generation Options setting.

 

Applies To

Text Box

[Formatting] properties (Iron Speed Designer)

Property

Description

Allow wrapping

AllowWrapping

Specifies whether displayed text can be wrapped.

True

Allow text wrapping.

False

Do not allow text wrapping.

Display format

DataFormat

Specifies a field’s display format, typically for numbers and dates.  It also specifies the type of text editor used for general text fields.

Other special formats apply:

Default

Use the Global Display Options dialog settings.

 

Applies To

Text Box

Display style

 

Display when contains value

TextFormat

The formatted text displayed when field contains a value.

See TextFormat property for details.

Applies To

Literal
Text Box

Display when NULL

NullValueText

The text to be displayed or inserted into the database if the underlying database field has a “null” value (no value).  This is typically set to ‘&nbsp;’

Applies To

Label
Literal

HTML encode value

HTMLEncodeValue

Specifies whether to render HTML tags when displaying text.  If a field contains HTML code, you can configure the field to render (display) the HTML rather than display ‘raw’ unrendered text.

True

Display text without rendering (executing) HTML tags.  Any embedded HTML tags are displayed as ‘HTML source’.

False

Display text as rich text.  Embedded HTML tags are rendered.

Note that rich text is displayed only if the text can be fully displayed.  The amount of text in the field, including embedded HTML tags, must be less than the “Maximum display length” property value.

Default

Use the Application Generation Options setting.

 

Applies To

Label
Literal

HTML encode white space

HtmlEncodeWhiteSpace

Specifies whether to HTML encode white space, limiting word-wrapping.

True

HTML encodes white space.  Multiple words in a text string are not wrapped.

False

Does not HTML-encode white space.  This is the the default if this property is not set.

“HTML encode white space” can be combined with the “Allow wrapping” property to achieve various effects.  For example, “HTML encode white space = True” and “Allow wrapping = False” respects the white space, carriage return and line feed characters in the HTML, preserving white space; e.g., if you have 10 contiguous spaces, 10 spaces will be output in the field.

Applies To

Label
Literal

Maximum display length

FieldMaxLength

The maximum number of characters displayed on for a text field, limiting the display of long ‘note’ fields in order to conserve screen real estate.

Text display limited for mobile pages

To reduce the bandwidth required for mobile Show Record pages, text strings longer than 32K are automatically truncated and appended with an ellipses ( “…”).  here is no truncation on mobile Edit Record and Add Record pages.

Use with “Pop ups” property

“Maximum display length” may be used in conjunction with the “Pop ups” property to display a limited amount of text on the web page and complete text in the pop-up.

“Maximum display length” also governs the number of characters displayed in PDF Reports created by Iron Speed Designer (PDF Report).

Any positive integer may be specified; the lowest permitted value is 1.  Several special values are permitted:

Default

Represents the default value specified in the Application Generation Options dialog, typically 100 characters.

Max

Allows an unlimited amount of text to be displayed.

The default value is the “Default”.  If any invalid value is specified (e.g., 0 or negative number), then all characters in the field are displayed on the web page.

Field contents are truncated and HTML tags do not render properly

The contents of a rich text field will be truncated if “Maximum display length” is less than the length of the contents in the field.  If the contents of a rich text field are truncated, various HTML tags may be displayed rather than rendered as HTML.  To “remove” the HTML tags from displaying, increase “Maximum display length” to exceed the length of the contents stored in the field or the length of the database field itself.

Applies To

Label
Literal

[Images] properties (Iron Speed Designer)

Property

Description

Image height
Image width

ImageHeight
ImageWidth

The displayed image size in pixels.  When specified, images are not displayed at their normal size but are scaled according to the sizes specified by ImageWidth and ImageHeight.  Both ImageWidth and ImageHeight must be provided in order to specify the image size in pixels.  ImageWidth and ImageHeight are used in conjunction with the “Pop ups” property.

ImageWidth and ImageHeight may be used when “Image percent size” is not specified.  Any positive integer value may be specified.  No default value is assumed for these properties.

“Image percent size” has higher priority over ImageWidth and ImageHeight.  If all three are specified then the image will be displayed according to the “Image percent size” value.  If the “Image percent size” property is missing, ImageWidth and ImageHeight values are used.

Applies To

Image

Image percent size

ImagePercentSize

The size of the thumbnail image displayed.  When specified, images are not displayed at their normal size but are scaled according to the percentage specified by “Image percent size”.  “Image percent size” is used in conjunction with the “Pop ups” property.

“Image percent size” specifies a percentage of the image’s actual size.  Any positive number starting from 0.0 may be specified.  Values less than 1.0 are taken as an actual percentage.  For example, a value of 0.3 is interpreted as 30% and the image will be displayed with 30% of its original size.

The default value for “Image percent size” is the “default” string which represents a default value, typically 20%.

Default

Display the image at its default size, typically 20% of its full size.

 

Applies To

Image

Image max height
Image max width

ImageMaxHeight
ImageMaxWidth

Images are displayed unaltered up to ImageMaxWidth and ImageMaxHeight  (pixels).  Images exceeding this size are proportionately reduced by setting the HTML “width” and “height” parameter to ImageMaxWidth and ImageMaxHeight.

[Pop Ups] properties (Iron Speed Designer)

Property

Description

Display threshold

PopupThreshold

The minimum number of characters before an Ajax-enabled text pop-up can be displayed.  The text pop-up will be displayed if the number of characters in the individual database field exceeds “Display threshold”.  “Display threshold” is used in conjunction with the “Pop ups” property.

The default value is the “default” string which represents the default value, typically 100 characters.  Any positive integer may be specified.  A text pop-up is always displayed if any invalid value is specified (e.g., characters or negative numbers).

Applies To

Label
Literal

Pop ups

PopupDisplay

Enables Ajax-based text and image pop-ups for the field.

True

Pop-ups are enabled for appropriate field types.

False

Pop-ups are disabled for appropriate field types.

Default

Use the Application Generation Options default.

Text pop-ups

Text pop-ups are displayed if the underlying database field type is a string or character field.  The “Display threshold” property specifies when text pop-ups will be displayed.

If the field’s Validation Type is Password, then no pop-up is displayed.

Image pop-ups

Image pop-ups are displayed only if the Control Type is ‘Image’.

If the underlying database field type is a string, no image scaling will occur on the underlying web page because the field is assumed to contain a URL and not the binary contents of an image.  However, the pop-up will be displayed.

Browser requirements

Text and image pop-ups require Internet Explorer 7 or later.

See Browser requirements for text and image pop-ups for details.

Applies To

Image
Label
Literal

Window height

Window width

PopupWindowWidth
PopupWindowHeight

The pop-up window width and height, in pixels.  Any positive integer value may be specified.  PopupWindowWidth and PopupWindowHeight are used in conjunction with the “Pop ups” property.

The default PopupWindowHeight value is 200 pixels.  The default PopupWindowWidth value is 300 pixels.  If PopupWindowWidth and PopupWindowHeight are not present, then their default values are used.

Applies To

Image
Label
Literal

Window persist

PopupWindowPersist

Specifies whether a pop-up window should persist until the mouse is moved.  PopupWindowPersist is used in conjunction with the “Pop ups” property.

True

The pop-up appears on mouse-over and stays as long as the mouse is not moved over any other part of the page which is a hot spot for the pop-up.

False

The pop-up appears on mouse-over and disappears on mouse-out.  If the application user wishes to make the pop-up persist, they can single click the mouse while the pop-up is open.

If PopupWindowPersist is not specified, then ‘False’ is assumed.

Applies To

Image
Label
Literal

Window scroll bars

PopupWindowScrollBar

Enables scroll bars in a pop-up.  PopupWindowScrollBar is used in conjunction with the “Pop ups” property.

True

Scroll bars are enabled.  Scroll bars are displayed only if the text or image content exceeds the size of the pop-up window.

False

Scroll bars are disabled.  If the text or image content exceeds the size of the pop-up window, no scroll bar will be displayed and the pop-up window will grow to accommodate the content.

If PopupWindowScrollBar is not present, the default value ‘True’ is assumed.

Applies To

Image
Label
Literal

Window title

PopupWindowTitle

The title for the pop-up window.  PopupWindowTitle is used in conjunction with the “Pop ups” property.  Valid input can be any text.

The default value is:  %ISD_DEFAULT%

%ISD_DEFAULT%

This represents the column name in the database.

If PopupWindowTitle is not present, then no title will be displayed.

Applies To

Image
Label
Literal

[Validators] properties (Iron Speed Designer)

Property

Description

Display

Specifies whether the space for the validation text and error message is pre-reserved or allocated dynamically at run-time.

None

The validation message is never displayed inline.

Static

Space for the validation message is allocated inline (default if not specified).

Dynamic

Space for the validation message is dynamically allocated when needed.

Example:

            OrderDateRequiredFieldValidator:Display

Applies To

Text Box

Initial value

Initial watermark text displayed in the control, e.g., “Enter Title here”.  The watermark is not a real permitted value; it is a temporary value.  The required validator treats this value as if the user did not enter anything in the text box.

“Initial value” also specifies a value for the ‘NO-SELECTION’ entry for dropdown lists.  The “Initial value” property applies only when the “Required” property is set to ‘True’.  Upon saving, the selected value is compared to the initial value, and if they are the same, an error is displayed to the user requesting they select a value.

Applies To

Dropdown List
List Box

Required

Required

Indicates that the field is required.  If selected, an application user must provide a value for the field when using the Add Record or Edit Record pages.

True

Create a ‘required’ validator for the control.

False

Do not create a ‘required’ validator for the control.

 

Applies To

Text Box

Text

Message displayed on the web page when an incorrect value is entered.

Resource File Key

You can also dynamically fetch a text string from your application’s resource file (RESX) at application run-time by specifying a Resource Key.  This is useful in multi-language applications that have multiple resource files, one for each language.  This permits easy application localization by editing your application’s resource file instead of the application itself.  Specify the Resource Key in curly braces, e.g.:

{Txt:MyTextString}

Applies To

Text Box

TextFormat property

The TextFormat property may include additional text before or after the database value, any HTML tags such as font, bold or underline, and hyperlinks.  The {0} substitution variable may be used in the text to include the database value.  {0} is the .NET String.Format method’s formatting specifier, and you may use any format supported by the String.Format method.  The substitution variable can be used any number of times in the TextFormat property.

Purpose

Example TextFormat value

Specify a prefix or suffix

Phone: {0}

{0} (fax)

Format values with color, bold and underline

<font color=“red”><b><u>{0}</u></b></font>

Mailto hyperlink

<a href='mailto:{0}'>{0}</a>

Hyperlink a database field

<a href=’{0}’>Click Here</a>

<a href=’{0}’>{0}</a>

When used with long text fields, these properties also must be set to display the text value correctly.

Property

Setting

HTML encode value

False

Pop ups

False

Maximum display length

An integer value greather than the length of the text so that all text including embedded HTML tags is displayed

Display threshold

A large integer value

Conditional field value display

Any combination of text, HTML and the actual database value can be displayed.  The following examples illustrate how text, HTML and the database field value can be combined.

Display this when field contains a value

Displays as

Purpose

{0}

William

Displays the database field value.

<font color="red">{0}</font>

William

Displays the database field value in red.

<a href="mailto:{0}">{0}</a>

[email protected]

Displays a ‘mailto’ email link.  The field should contain a valid email address.

<a href="{0}">{0}</a>

www.ironspeed.com

Displays a clickable URL (hyperlink) from the database.  The field should contain a valid URL.

<a href="{0}" target="_blank">{0}</a>

www.ironspeed.com

Displays a clickable URL (hyperlink) from the database.  The field should contain a valid URL.  When clicked, a new browser window is opened with the hyperlinked page.

<a href="http://www.ironspeed.com/kb?q={0}">
Search for {0}</a>

Search for William

Displays a clickable URL (hyperlink) as part of a query string.  The field should contain a valid URL.

<img src="{0}" />

Displays an image if the field contains a valid URL.

Conditional image display

The conditional display feature is frequently used to display ‘not available’ or ‘image not found’ when fields are emplty.  The example below illustrates how an image can be displayed from the database field containing a URL.  If the field is empty, a ‘no image available’ default image is displayed instead.

Step 1:  In the Property Sheet, set the Control Type property to ‘Literal’.  Conditional display is available for the Label and Literal control types.

Step 2:  Use an <img> tag to display an image using the URL stored in the database field.

Step 3:  Use an <img> tag to display a default ‘no image available’ image when the database field is empty, i.e., it does not contain a URL.

Displaying hyperlinked URLs (clickable fields)

The conditional display feature can be used to display hyperlinked (clickable) URLs if your database field contains a URL.

Step 1:  In the Property Sheet, set the Control Type property to ‘Literal’ to enable the conditional display feature.

Step 2:  Use an <a href> tag to display a clickable URL using the URL stored in the database field.

Step 3:  Build and run your application.

If the database field only contains a page or file name and not a fully qualified URL, the <a href> tag can be expanded to add a prefix to the location containing the file, e.g.:

<a href="http://www.ironspeed.com/{0}">{0}</a>

You can open the hyperlinked page in a new browser window by providing a “target” attribute, e.g.:

<a href="{0}" target="_blank">{0}</a>

Handling rich text display – text display is truncated

When displaying fields as ‘rich text’ it is common for records with smaller amounts of text to be displayed as rich text and for records with larger amounts text to be truncated and displayed in the browser font because there isn’t sufficient room to display them as rich text.  This can lead to a situation where the fonts in certain table cells differ markedly.  Most likely your field is set to show text as Default, allowing the Application Generation Options to decide how to display the text.  If set to display text as ‘Rich text’ and the threshold is low enough that this field qualifies to use rich text, then any cell in this column where text fits completely will be shown as a rich text; any cell where the text length exceeds the cell width will be truncated and displayed in the default browser font.

To show all text using the same font, you can do one of the following:

Browser requirements for text and image pop-ups

Microsoft IE 7 and later is required to display text and image pop-ups.  In IE 6, pop-ups appear with a white box surrounding it because IE 6 does not support transparent PNG images used to implement the pop-up window.

You can enable transparency in IE 6 by uncommenting the “detailRollover” styles in your application’s BaseStyles.css style sheet file (located in the Styles folder) and in your application’s ApplicationWebForm.js file (located in your application folder).  When you enable these styles, ‘filter’ warning messages will appear when opening your application in Microsoft Visual Studio.  However, these warning messages are innocuous and have no effect.

Obsolete Application Generation Properties (Iron Speed Designer)

Your application may contain these properties that are no longer used and are obsolete.  In general, most obsolete properties are benign and will not affect your application’s code or run-time operation.

Property

Description

<Tag Name>FvDsHyperLink:Visible

True

Display the calendar date selector control.

False

Do not display the calendar date selector control.

The calendar date selector control is enabled by default if this property is not present.

Example:

            OrderDateFvDsHyperLink:Visible

Applies To

Text Box (date input fields only)

 

LoadData

Specifies whether to load the field’s data, overriding any default (initial) value.

True

Forces the loading of the field’s data from the database, overriding any default value that may be provided in the page.

If a database value is present, it is displayed.  However, if no database value is present, the default value (initial value), if any, is displayed.

False

Suppresses the loading of the field’s data from the database, allowing you to initialize a field to a particular value without regard to the value for that field in the database.

If a default value (initial value) is present, it is displayed, regardless of whether a value exists in the database.  However, if no default value (initial value) is present, the database value is displayed.

The LoadData property defaults to “True”, so setting it to “False” allows you to always initialize a field to a particular value.

Example #1:

To set an date updated audit field every time the page is edited, set the date field’s initial value to “DateTime.Now()” and set the LoadData property to ‘False’.

Example #2:

To initialize a field’s value if no value is present in the database, set the field’s initial value to the value you want, and set the LoadData property to ‘True’.  If the value exists in the database, it will be used.  If no value is present in the database, the initial value is used.

Applies To

Text Box
Dropdown List
List Box
Radio Button List
Button
Label
Literal

 

Permitted values

The list of individual items to be displayed.  This option is available only if the list is not created from the database.

When selecting this option, an extra “empty” item may be displayed in your application at run-time.  For example, a radio button with no text may be displayed.  This occurs when no default value has been specified for the field.  To remove this empty item, click the Global Properties... button to specify one of the options as a default value.

 

SaveData

Forces or suppresses saving the field’s data to the database.

True

Saves the field’s data to the database even if no changes have been made to the field’s data.

False

Does not save the field’s data to the database.  Setting SaveData to “False” allows you to always save a particular value for the field, such as the logged in user ID or the current date and time.

The SaveData property defaults to “True” for some controls and to “False” for others.  Other controls, such as the Link Button, don’t allow SaveData to be set to True.

Applies To

Text Box
Dropdown List
List Box
Radio Button List
Button
Label
Literal

 

See also

Code Generation Tags

Code Generation Tag Properties

FieldValue Control Type Options

Database Field Options