Page view counter
HomeLearnVideosBegin Editing the Templates in ASP.NET Dynamic Data Applications  

Begin Editing the Templates in ASP.NET Dynamic Data Applications

Please install Silverlight or click download to watch video locally.

This video will explore the application structure of your generated ASP.NET Dynamic Data Application and get you started on editing the provided templates.

Presented by Joe Stagner

Duration: 8 minutes, 24 seconds

Date: 23 October 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 8

Leave a Comment

m@rco : On November 27, 2008 10:26 AM said:

Nice videos!

Is there already a video which showing editing page templates?

Grz,

Marco

agoyal : On December 26, 2008 4:15 PM said:

this is very informative.

augustine.andrew : On March 10, 2009 3:10 AM said:

Does anyone know how to handle autonumber fields if SQL Server 2k8 is your back end DB? This occurs when you try and insert a new entity instance or record. The Dynamic Data defaults the autonumber field to an empty text box but if you try to submit w/ the field empty then the site will return an error. Really I'd like the site to make it an read only label that is autogenerated from the database field's counter.

Thank you.

Andrew

rushnp774 : On March 11, 2009 3:23 AM said:

Something like that happened to me a couple days ago, but I'm not sure if it's the exact problem I had. I just went to the source view of the page with the DetailsView control (in my case), found the "Insert" command, and removed any reference in the SQL statement to the Id that it was trying to insert. You may try that.

PeteMorgan : On March 18, 2009 7:40 PM said:

Andrew - I had the same problem. When drag a table onto the dbml designer surface, click on the Field that is autonumber (you mean its "Identity Specification = Yes" in Sql Server, yeah?) then view the Properties window - the "Auto Generated Value" property should be True. If that is the case then the web page will run as you'd expect (the ID column is hidden by default and it doesn't error when you Insert).

However, I've found that sometimes this property isn't set properly and I need to set it to true manually.

I don't know why it misbehaves, or what's the best course of action to rectify it - but this works for me at least.

Cheers,

Pete.

BuckUF : On March 24, 2009 8:28 PM said:

These videos on dynamic data are great....any video examples of how best to past a form or server variable to the templates? i.e. show only one record in ListView

Thanks.

RickInHouston : On March 26, 2009 5:31 PM said:

Thank you so much for these calm, detailed introductions to the new features.

agrawalbs : On April 05, 2009 6:52 AM said:

nice video

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities