Web Forms Scaffolding

Free

Generates ASP.NET Web Forms pages for inserting, editing, deleting, and listing entities from an Entity Framework data context and model class.

(1) Review
Visual Studio
2013
Download (1,620)
6/14/2014
0.3
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (1)
Q and A (2)
Sign in to write a review
Sort by:

by rafaelrferreira | May 24 2014

Sign in to start a discussion


  • Multiple formview on one page.
    1 Posts | Last post July 17, 2014
    • 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
      Michal
      
  • Scaffolding and VS2013
    4 Posts | Last post May 10, 2014
    • Hello,
      i've installed the extension but on the scaffold window i don't see the web form choice. only the usual MVC and WebAPI.
      What's wrong?
    • 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..
      
    • Hi Andrea,
      
      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