ASP.NET Dynamic Data documentation has been updated to contain new information and examples.
Also, improvements have been made to existing content, as described next.
This topic has been updated to contain an overview of the new feature set, an architecture diagram, a description of the entity and filter templates, and a description of allowed customizations.
(errata note: Dev10 default is to pluralize EDM - name your Addresses.ascx when using the default. The correct download link for the sample: http://go.microsoft.com/fwlink/?LinkId=151901 )
This walkthrough shows how to perform table row filtering in an ASP.NET Dynamic Data Web site. Filtering lets users display subsets of the data that is displayed by Dynamic Data, which you can implement without creating and executing new queries every time that the user selects a new filter value. By default, Dynamic Data includes templates that let you specify filtering for Boolean values and for foreign-key values.
From the walkthrough you can download a complete application that contains the examples described in the topic.
Note, there are some typos in the published in-line code. For the correct version, refer to this location.
errata note: step 7, select Not Null - the image is correct
ASP.NET Dynamic Data enables you to use page markup to filter the child table rows to display based on the foreign-key values that the user selects in a parent table, this without requiring knowledge on your part of the data source control and of the database query details. When the user selects a value in the parent table only the child table rows that contain that value are displayed.
Introduction to M:M with Dynamic Data.
You can create dynamic hyperlinks that are based on the table actions that are enabled by Dynamic Data. When a user clicks a link, a page is displayed that enables the user to perform the action that is specified by the link, such as listing detail data rows or editing a data item.
-- Michael Miele
ASP.NET User Education
This posting is provided "AS IS" with no warranties, and confers no rights.
-- Michael Miele
Give Your Feedback on the Documentation Help us improve the developer documentation by taking the Visual Studio and .NET Framework Content Survey. This survey will give us a better understanding of the type of applications you are developing as well as how you use Help and how we can improve it. The survey takes only 10 minutes, and we appreciate your feedback.
Give Your Feedback on the Documentation
Help us improve the developer documentation by taking the Visual Studio and .NET Framework Content Survey. This survey will give us a better understanding of the type of applications you are developing as well as how you use Help and how we can improve it. The survey takes only 10 minutes, and we appreciate your feedback.