Share via


ScriptManager controle de servidor Web Declarative sintaxe

Gerencia arquivos de script e bibliotecas de script ASP.NET AJAX, renderização parcial da página e geração de classe de proxy do cliente para Web e aplicativo serviços.

<asp:ScriptManager
        AllowCustomErrorsRedirect="True|False"
    AsyncPostBackErrorMessage="string"
    AsyncPostBackTimeout="integer"
    AuthenticationService-Path="uri"
        EnablePageMethods="True|False"
        EnablePartialRendering="True|False"
    EnableScriptGlobalization="True|False"
    EnableScriptLocalization="True|False"
        EnableTheming="True|False"
        EnableViewState="True|False"
    ID="string"
        LoadScriptsBeforeUI="True|False"
    OnAsyncPostBackError="AsyncPostBackError event handler"
    OnDataBinding="DataBinding event handler"
    OnDisposed="Disposed event handler"
    OnInit="Init event handler"
    OnLoad="Load event handler"
    OnPreRender="PreRender event handler"
    OnResolveScriptReference="ResolveScriptReference event handler"
        OnUnload="Unload event handler"
    ProfileService-LoadProperties="string"
    ProfileService-Path="uri"
        RoleService-LoadRoles="True|False"
    RoleService-Path="uri"
    runat="server"
        ScriptMode="Auto|Inherit|Debug|Release"
    ScriptPath="string"
    SkinID="string"
    SupportsPartialRendering="True|False"
        Visible="True|False"
>
        <AuthenticationService
            Path="uri"
        />
        <ProfileService
            LoadProperties="string"
            Path="uri"
        />
        <RoleService
                        LoadRoles="True|False"
            Path="uri"
        />
                <Scripts>
                        <asp:ScriptReference
                            Assembly="string"
                                IgnoreScriptPath="True|False"
                                Name="string"
                                NotifyScriptLoaded="True|False"
                                Path="string"
                                ResourceUICultures="string"
                                ScriptMode="Auto|Debug|Inherit|Release"
                        />
                </Scripts>
                <Services>
                        <asp:ServiceReference
                                InlineScript="True|False"
                                Path="string"
                        />
                </Services>
</asp:ScriptManager>

Comentários

Para obter mais informações, consulte a visão geral da classe ScriptManager.

Consulte também

Conceitos

Controles de Servidor do ASP.NET

Referência

ScriptManager

Outros recursos

controle de servidor Web sintaxe