This documentation is archived and is not being maintained.

DynamicDataManager Class

Enables dynamic behavior for ASP.NET Web controls that support ASP.NET Dynamic Data.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

[ToolboxBitmapAttribute(typeof(DynamicDataManager), "DynamicDataManager.ico")]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class DynamicDataManager : Control
<asp:DynamicDataManager />

The DynamicDataManager control must be included on a page in order for data controls to use Dynamic Data support. The markup of the DynamicDataManager control must precede the markup of any controls that use Dynamic Data support.


A DynamicDataManager control cannot be put inside an UpdatePanel control.

The following example shows how to use a DynamicDataManager control to enable dynamic behavior for an instance of the System.Web.UI.WebControls.GridView control.

<%@ Page Language="C#" MasterPageFile="~/Site.master" %>

<script runat="server">

    protected void Page_Init(object sender, EventArgs e) {


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <h1> DynamicDataManager VB Sample</h1>

    <asp:DynamicDataManager ID="DynamicDataManager1" runat="server" 
        AutoLoadForeignKeys="true" />

    <asp:GridView ID="GridView1" runat="server" DataSourceID="GridDataSource" AllowPaging="True"
        AllowSorting="True" CssClass="gridview">

    <asp:LinqDataSource ID="GridDataSource" runat="server" EnableDelete="true">




Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1