Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

NavigationItem.CausesValidation Property

Gets or sets a value indicating whether clicking this item will cause server side validation to be performed.

[Visual Basic]
Public Property CausesValidation As NullableBool
[C#]
public NullableBool CausesValidation {get; set;}

Property Value

NullableBool

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

NavigationItem Class | EO.Web Namespace


Direct link to this topic