C# 클래스 jQueryApi.jQueryValidator

파일 보기 프로젝트 열기: volkanceylan/Serenity 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddClassRules void
AddClassRules void
AddMethod void
AddMethod void
Format string
GetInvalidFieldCount int
SetDefaults void
ValidateElement bool
ValidateElement bool
ValidateForm bool
jQueryValidator System

공개 메소드들

메소드 설명
Optional ( Element element ) : bool

Checks if the current element is optional.

ResetForm ( ) : void

Resets the controlled form

ShowErrors ( System.Collections.JsDictionary errors ) : void

Shows the specified errors messages.

비공개 메소드들

메소드 설명
AddClassRules ( System.Collections.JsDictionary rules ) : void
AddClassRules ( string name, System.Collections.JsDictionary rules ) : void
AddMethod ( string name, jQueryValidationMethod callback ) : void
AddMethod ( string name, jQueryValidationMethod callback, string message ) : void
Format ( string template ) : string
GetInvalidFieldCount ( ) : int
SetDefaults ( jQueryValidatorOptions options ) : void
ValidateElement ( Element element ) : bool
ValidateElement ( jQueryObject element ) : bool
ValidateForm ( ) : bool
jQueryValidator ( ) : System

메소드 상세

Optional() 공개 정적인 메소드

Checks if the current element is optional.
public static Optional ( Element element ) : bool
element System.Html.Element The element to validate
리턴 bool

ResetForm() 공개 메소드

Resets the controlled form
public ResetForm ( ) : void
리턴 void

ShowErrors() 공개 메소드

Shows the specified errors messages.
public ShowErrors ( System.Collections.JsDictionary errors ) : void
errors System.Collections.JsDictionary Key/value pairs of error messages, where the keys relate to names of elements in the form, and /// the values are the error messages to display for those elements.
리턴 void