Class TClientSideValidationSummaryOptions
TClientSideValidationSummaryOptions class.
Client-side validation summary events such as setOnHideSummary OnHideSummary and setOnShowSummary OnShowSummary can be modified through the TBaseValidator:: getClientSide ClientSide property of a validation summary.
The OnHideSummary event is raise when the validation summary requests to hide the messages.
The OnShowSummary event is raised when the validation summary requests to show the messages.
See the quickstart documentation for further details.
- TComponent
-
TClientSideOptions
-
TClientSideValidationSummaryOptions
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.0
Located at Web/UI/WebControls/TValidationSummary.php
public
string
|
|
public
|
#
setOnHideSummary( string $javascript )
Client-side OnHideSummary validation summary event is raise when all the validators are valid. This will override the default client-side validation summary behaviour. |
public
|
#
setOnShowSummary( string $javascript )
Client-side OnShowSummary event is raise when one or more validators are not valid. This will override the default client-side validation summary behaviour. |
public
string
|
|
protected
string
|
#
ensureFunction( string $javascript )
Ensure the string is a valid javascript function. The code block is enclosed with "function(summary, validators){ }" block. |
getOption(),
getOptions(),
setFunction(),
setOption()
|
GLOBAL_RAISE_EVENT_LISTENER
|