See Also

HtmlBox Class  | HtmlBox Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

DynamicValidation Property

Dart.PowerWEB.TextBox Namespace > HtmlBox Class : DynamicValidation Property

Use to inject validation code into the initial Page render.

[Visual Basic]
Public Property DynamicValidation As Boolean
[C#]
public bool DynamicValidation {get; set;}
[C++]
public: __property bool get_DynamicValidation(); public: __property void set_DynamicValidation(    bool value );
[C++/CLI]
public: property bool DynamicValidation {    bool get();    void set (bool value); }

Return Type

A bool determining whether or not validation code is rendered in initial Page load. The default value is false.

Remarks

Note, most scenarios do not require this property. Use this property only if (1) a control requiring validation is going to be created in a callback and (2) no other controls requiring validation are present on initial page load.

If a control requires validation, the code to perform this validation is set up in initial page load. This code includes a reference to an external script file, and a script block. However, if no control requiring validation is present on initial page load, but is created in a subsequent callback, validation is skipped because the validation script was not properly set up. Set this property to true on initial page load to create the validation script which can be used by any control created in subsequent callbacks.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

HtmlBox Class  | HtmlBox Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.