Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Dynamic Data   (RSS)

Setting font attributes with UIHint in your Entity Partial Class

I've written a simple Field Template ( RedBold.ascx ) that reads most font attributes and applies them to your field values. The new entity templates make it easy to apply font attributes to the field labels. The image below shows several font attributes
Posted by ricka0 | 1 Comments
Filed under:

Attachment(s): FontAttrib.zip

Dynamic Data FAQ

Please post corrections/new submissions to the Dynamic Data Forum . Put FAQ Submission/Correction in your title. See Tips on getting your ASP.NET Dynamic Data questions answered quickly Post LINQ To SQL Questions here Post Entity Framework Questions here
Posted by ricka0 | 1 Comments
Filed under:

Custom Validation Error message not displayed

A customer pointed out that his Spanish validation error messages were not being displayed; the default Error message was shown instead. I'll use the Products table from the NorthWind Db to reproduce the problem and show a work-around. Create a partial
Posted by ricka0 | 3 Comments
Filed under: ,

Explicit connection string for EF

The default constructor for the ObjectContext class in the Entity Data Model (EDM) retrieves the construction string from the web.config or app.config file. If you have multiple data models or need to pass in the the construction string at run time you
Posted by ricka0 | 2 Comments

Improving the FK field display: Showing two fields in Foreign Key columns

The default scaffold of the CustomerAddress table in the AdventureWorksLT database poses a problem: Dynamic Data (DD) defaults to using the first string field in the referenced table. In this case, the first string field is the Title field (Mr,Ms, and
Posted by ricka0 | 6 Comments
Filed under: ,

How to create an updateable view with ADO Entity Framework and with LINQ to SQL

Creating an update-able view with ADO Entity Framework (EF) or LINQ to SQL (L2S) is a fairly advanced topic and not directly associated with Dynamic Data. At the end of the article I have a sample console application to verify the modified L2S data model
Posted by ricka0 | 3 Comments
Filed under: ,

Tweaking the Filter Repeater

The default implementation of Dynamic Data provides a drop down list box for each foreign key and boolean field in a table. The drop down list allows you to filter the table with the value selected from the drop down list box. The figure below shows a
Posted by ricka0 | 3 Comments
Filed under: ,
 
Page view tracker