I'm looking at using this for a simple CRUD Web application but I need to be able to customize the Edit pages. The links here about Dynamic Data (http://msdn.microsoft.com/en-us/library/cc488545.aspx) all reference what I'm guessing is the previous version for scaffolding because the refer to pages (Details, Edit, Insert, List, ListDetails) and a folder called /DynamicData/PageTemplates, and none of that exists in the projects I have. I have pages Default, Delete, Details, Edit, Insert under the Folder for the table in question but I have no templates. Am I missing something?
Are people still working on this? It is very promising, but bugs / shortcomings mean it is not really usable. I realize this is free, so you take what you get, so are there any versions (say from Microsoft) that work a bit better?
Main bugs for me are the lack of support for complex types (without some manual fixing), and not being able to have linked files in the web project.
I use two formview with different ItemType, but both ItemType (entity) has the property with the same name. I use dynamic data and there I have problem with class has-error. This line of code: this.Page.ModelState.IsValidField(Column.Name);
The ColumnName is simple PropertyName like Name, TypeId, .. and this method check if the key has errors and use class has-error. When I have two entity with the same name I get css class has-error for both.
Do you have the solution for this issue?
Thank you very much
Sorry. i didn't see i must install sp2 rc2 of vs2013. Now i can see the choice. but.. i have a problem with foreign keys.
I have two classes. One for users and one for user levels. I've generated it with visual studio tools db first and however i've tried also with a new class. The problem is that the foreign key is not seen as dropdown list. In the Default page i see the ID and the Entity (that should not be visible). In the Edit page i see the ID only (but no dropdown).. Another strange thing is that in the Edit page i see my Metadata correctly (Display Name for example) while in the default page there are the original fields..
The new version of the Web Forms Scaffolder supports foreign key relationships but not the current version (see https://github.com/superexpert/webFormsScaffolding). Check back in a week or so, we are actively developing the next version and hope to release it here soon.
Hello. i've downloaded the GitHub version and i've recompiled it. And now it is working correctly.
Just some hints. First. it is possible to create GetData methods that using pagination? Maybe something in scaffolding form that enable/disable it? Or there is a simply way? That's because the ListView is created with EnabledPagination="true" but GetData method returns always all rows.
Second. Im using partial class with metadata enabled. I've added the ScaffoldingTable(false) to the table that contains the fields description and all is working correctly. A good thing could be to hide the tables in the DropDown list where you choose the class to create that has the ScaffoldingTable(false). This because you will see tables X 2 for each DB table..
More to come.. :D