Blog Viewer

ListBox Properties Controls

  

ID

  • What it does: Programmatic ID of the drop down.
  • How to use it: Enter the text.
  • Other notes: This must be unique. It is prefixed with lst.



Visible checkbox

  • What it does: Determines whether the user can see the control.
  • How to use it: Click the checkbox to check or uncheck.



Visible Rule

  • What it does: Displays the control if it evaluates to true. Hides the control if it evaluates to false.
  • How to use it: Enter the rule from the entity.
  • Other notes: The rule comes from the entity. It must be configured there for you to use it here.



Resource

  • What it does: Security ID that determines whether the user can access the control.
  • How to use it: Enter the ID from the security table.



CSS Class

  • What it does: Custom style sheet class that controls cell appearance.
  • How to use it: Enter the text.
  • Other notes: If left blank, the appearance is default. The class must be configured in the MVVM project style sheet in the .NET project.



Custom Attributes

  • What it does: Custom attribute defined by the developer to be rendered on the HTML page.
  • How to use it: Enter the text.



Related Grid

  • What it does: Grid the control updates, if any.
  • How to use it: Select from the available grids.



Entity Field

  • What it does: Displays the associated entity field.
  • How to use it: Enter the entity and column.



Item Read Only Rule

  • What it does: Rule that determines whether the value is editable when the user opens the form in update mode.
  • How to use it: Enter the rule or select it from the available rules.
  • Other notes: The rule must come from the entity and be an Initial Load validation.



Validation Rules

  • What it does: Rule or collection of hard or soft error rules that check validity of the user input.
  • How to use it: Enter the rule or click the magnifying glass icon and select the rule(s).



Default Value

  • What it does: Interacts with the Load Type to assign a value to the control.
  • How to use it: Options are:
    • If Load Type is None or TextValue, enter text.
    • If Load Type is TodaysDate or TodaysDateTime, keep this null.
    • If Load Type is MethodOnServer, enter a valid method in the entity that returns a string value.
    • If Load Type is MethodOnClient, enter a valid method defined in default.aspx.cs that returns a string value.
    • If Load Type is System Constant, enter a code_value from sgs_code_value where code_id  52.
    • If Load Type is Scalar Query, enter a valid query from the entity that returns a scalar value.

 

Load Type

  • What it does: Determines how the system populates the control.
  • How to use it: Select from the drop down.
  • Other notes: Options are:
    • Code Group: The system populates the control with values from the codes value (this is most common).
    • Query: The system executes a query to populate the control  (this is second most common).
    • Method: The system executes a method (local) to populate the control .
    • Server Method: The system executes a server method to populate the control .
    • Items: The system populates the control with manually entered values.



Code Group

  • What it does: Code table ID for the code ID-value pairing that populates the control.
  • How to use it: Enter the ID or select from the list or perform a search.
  • Other notes: This only displays if Load Type is Code Group.



Query

  • What it does: Query that populates the control.
  • How to use it: Enter the query or select from the list or perform a search.
  • Other notes: This only displays if Load Type is Query.



Method

  • What it does: Method that populates the control.
  • How to use it: Enter the method or select from the list or perform a search.
  • Other notes: This only displays if Load Type is Method or Server Method.



Plus icon

  • What it does: Adds an item to the control.
  • How to use it: Click the icon and enter text.
  • Other notes: This only displays if Load Type is Items.



Minus icon

  • What it does: Removes an item from the control.
  • How to use it: Select the item and click the icon.
  • Other notes: This only displays if Load Type is Items.



Text Field

  • What it does: Text that displays if Load Type is Code Group, Query, or Items.
  • How to use it: Select from the list. (Code Group populates automatically.)



Value Field

  • What it does: Stored value if Load Type is Code Group, Query, or Items.
  • How to use it: Select from the list. (Code Group populates automatically.)


This post is part of the Maintenance Form topic. Click here to open the Maintenance Form Overview.

0 comments
21 views

Permalink