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

속성 값

Boolean

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

설명

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

참고

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

적용 대상

추가 정보