RegisteredScriptType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of client script block that is represented by a RegisteredScript object.
public enum class RegisteredScriptType
public enum RegisteredScriptType
type RegisteredScriptType =
Public Enum RegisteredScriptType
- Inheritance
Fields
ClientScriptBlock | 1 | A block of client code that executes one time during initial page rendering. A client script block of this type does not execute during partial-page updates. |
ClientScriptInclude | 0 | A client script that executes every time that an asynchronous postback occurs. |
ClientStartupScript | 2 | A client script that is associated with a control that executes when the control starts. |
OnSubmitStatement | 3 | A client script that executes when a page is submitted. |
Remarks
The script type indicates when the script is intended to be executed. This can be during page initialization, during page postback, during control startup, and so on.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기