언어

DataAnnotationsValidator.DisableClientValidation 속성

정의

이 양식에 대해 클라이언트 쪽 유효성 검사 규칙이 표시되지 않는지 여부를 가져오거나 설정합니다. 기본값인 경우 false 프레임워크는 렌더링된 HTML에 양식 모델에 대한 유효성 검사 규칙을 포함하므로 서버 왕복 없이 사용자 오류를 보고할 수 있습니다. 서버 쪽 유효성 검사만 실행되는 경우 true

[Microsoft.AspNetCore.Components.Parameter]
public bool DisableClientValidation { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.DisableClientValidation : bool with get, set
Public Property DisableClientValidation As Boolean

속성 값

특성

적용 대상