Partager via


Syntaxe déclarative du contrôle serveur Web ScriptManagerProxy

Mise à jour : novembre 2007

Permet aux composants imbriqués, tels que les pages de contenu et les contrôles utilisateur, d'ajouter du script et des références de services aux pages lorsqu'un contrôle ScriptManager est déjà défini dans un élément parent.

<asp:ScriptManagerProxy
        AuthenticationService-Path="uri"
        EnableTheming="True|False"
    EnableViewState="True|False"
    ID="string"
    OnDataBinding="DataBinding event handler"
    OnDisposed="Disposed event handler"
    OnInit="Init event handler"
    OnLoad="Load event handler"
    OnPreRender="PreRender event handler"
    OnUnload="Unload event handler"
    ProfileService-LoadProperties="string"
    ProfileService-Path="uri"
        RoleService-LoadRoles="True|False"
    RoleService-Path="uri"
    runat="server"
    SkinID="string"
    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:ScriptManagerProxy>

Notes

Pour plus d'informations, consultez la vue d'ensemble de la classe ScriptManagerProxy.

Voir aussi

Concepts

Contrôles serveur ASP.NET

Référence

ScriptManagerProxy

Autres ressources

Syntaxe des contrôles serveur Web