ASP.NET Dynamic Data Preview Available
page 2 of 5
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 21999/ 57

ASP.NET Dynamic Data Preview

Today we released an updated ASP.NET Dynamic Data Preview.  You can learn more about it and download it here.

This new dynamic data preview now works with the standard built-in ASP.NET data controls (GridView, ListView, FormView, DetailsView, etc).  The dynamic data support enables these controls to automatically handle foreign-key relationships.  For example, on a GridView you'll now get automatic friendly name display of foreign key column values and automatic drop-down list selection support of these values when in edit mode:

Figure 1

The new dynamic data support also provides automatic UI validation support (both client-side and server-side) based on the constraints you set on your data model classes.  For example, if a column in the database is limited to 50 characters in size, and is marked as non-nullable, appropriate UI control validators will automatically be applied by ASP.NET dynamic data to enforce this constraint in the UI pages as well.  If you change the constraints within your LINQ to SQL or LINQ to Entities data model classes, the UI will automatically pick up these changes and enforce the new constraints on the next web request.

In addition to standard data model metadata, you can also declare custom metadata to further control validation and the default display of UI of objects. 

You will be able to use all of the above features with both LINQ to SQL and LINQ to Entities.


View Entire Article

User Comments

Title: Very Good   
Name: Ananth
Date: 2009-04-08 5:32:25 PM
Comment:
Very Good

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-03-01 5:07:40 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search