Метод | Описание | |
---|---|---|
GetValidationTriggerFunction ( ) : String |
Returns the form validation function.
|
|
GetValidationTriggerFunction ( String formElement ) : String |
Returns the form validation function.
|
|
GetValidationTriggerFunction ( String formElement, IDictionary options ) : String |
Returns the form validation function where you can override the options: The options that can be overriden: confirm (bool), disable (bool), groupError (bool), errorMode (int) |
|
InstallScripts ( ) : String |
Automatic Script installer.
|
|
InstallScripts ( string locale ) : string |
Installs the scripts.
|
|
SetSubmitOptions ( IDictionary parameters ) : void |
Configure the submit and validation options.
|
|
SetSubmitOptions ( bool confirm, bool disable, bool groupError, int errorMode ) : void |
Configure the submit and validation options.
|
|
ValidationHelper ( ) : System |
Constructor.
|
public GetValidationTriggerFunction ( ) : String | ||
Результат | String |
public GetValidationTriggerFunction ( String formElement ) : String | ||
formElement | String | Javascript expression that return the desired form. |
Результат | String |
public GetValidationTriggerFunction ( String formElement, IDictionary options ) : String | ||
formElement | String | Javascript expression that return the desired form. |
options | IDictionary | Custom options |
Результат | String |
public InstallScripts ( string locale ) : string | ||
locale | string | The locale. |
Результат | string |
public SetSubmitOptions ( IDictionary parameters ) : void | ||
parameters | IDictionary | |
Результат | void |
public SetSubmitOptions ( bool confirm, bool disable, bool groupError, int errorMode ) : void | ||
confirm | bool | True for submit confirmation. Otherwise, false. |
disable | bool | True for submit buttons disabling. |
groupError | bool | True for error grouping. |
errorMode | int | |
Результат | void |