Table of Contents
CausesValidation Property

Gets or sets a boolean indicates if clicking an item causes validation to be performed on any controls that require validation.

Syntax
 public Boolean CausesValidation { get; set; }
Remarks

Setting this property to True causes validation to be performed on any controls that require validation

Value Inheritance section lists generic rules to determine final value during runtime.

Value Inheritance

CausesValidation property exists on three kinds of objects:
  • Navigation control (inherited from BaseNavigator)
  • Navigation group (inherited from NavigationItemGroup)
  • Navigation item (inherited from NavigationItem)
By default, setting a navigation control's CausesValidation properpty will apply to all level objects. However, when the value is set in multiple objects, the value of the lowest level object is used.
Here are the steps to determine which object's value will be used:
StepsDescription
To determine a navigation item's CausesValidation If the value is Null, use the value from the parent navigation group;
To determine a navigation group's CausesValidation If the value is Null, use the value from the parent navigation item. This logic continues until a True or False value is found.
To determine top level group's CausesValidation If top level group is reached, use the control's (inherited from BaseNavigator) CausesValidation as the final.
Note: Special case(s), if any, is listed in the remark section.
See Also