다음을 통해 공유


ScriptManager.EnableScriptLocalization 속성

정의

컨트롤이 지역화된 버전의 스크립트 파일을 렌더링하는지 여부를 ScriptManager 나타내는 값을 가져오거나 설정합니다.

public:
 property bool EnableScriptLocalization { bool get(); void set(bool value); };
public bool EnableScriptLocalization { get; set; }
member this.EnableScriptLocalization : bool with get, set
Public Property EnableScriptLocalization As Boolean

속성 값

true지역화된 스크립트 파일이 렌더링되면 이고, 그렇지 않으면 . false 기본값은 true입니다.

설명

속성이 EnableScriptLocalization 설정 trueScriptManager 되면 개체는 현재 문화권에 대한 스크립트 파일을 검색합니다(있는 경우). 예를 들어 페이지에서 이름이 CustomScript.js스크립트 파일을 지정할 수 있습니다. 문화권이 fr-CAScriptManager 설정되면 개체는 CustomScript.fr-CA.js이름이 지정된 스크립트 파일을 검색하려고 합니다.

메모

스크립트 파일이 두 번 EnableScriptLocalization 렌더링되지 않도록 하려면 비동기 포스트백 중에 속성을 수정해서는 안 됩니다.

적용 대상

추가 정보