Adding Dynamic Behavior to Data Controls

Introduction

ASP.NET Dynamic Data enables you to add dynamic behavior to data controls. This lets you do the following:

  • Move data validation from the presentation layer to the data layer.

  • Eliminate boilerplate code from Web application pages.

ASP.NET Dynamic Data provides a set of data controls that support dynamic behavior. It also uses a set of classes (a database model) to interact with the underlying database. ASP.NET Dynamic Data dynamically determines how to render controls based on the data types of database fields.

Note

The data model is generated through object-relational mapping (ORM). In Visual Studio 2008, you can use the LINQ to SQL Classes template to generate classes for the data model. For more information, see Walkthrough: Building a Data-Driven Web Site Using ASP.NET Dynamic Data.

In This Section

How To: Add Dynamic Behavior to Data Controls Using a DynamicField Control

Shows how to add dynamic behavior to the DynamicGridView and DynamicDetailsView controls.

Walkthrough: Adding Dynamic Behavior to Templated Data-Bound Controls

Shows how to add dynamic behavior to templated data-bound controls.

This topic is ASP.NET Extensions documentation and is unsupported by Microsoft. Blank topics are included as placeholders and existing content is subject to change in future releases.