UPDATED New build available (09-jan-2007).
We just released the first beta of our ASP.NET 2.0 GUI templates, which generate a complete database editor for adapter.
The archive is available in the 2.0 -> 3rd party section area in the customer area.
We've planned to ship the templates as an example on the public site as well as soon as the templates are out of beta.
Supported features
- Entity insert/edit/delete/view.
- viewing of related entities
- Fields mapped onto related fields
- Image/blob fields (insert / edit only)
- filtering and searching.
- sorting (client side sorting when fields mapped onto related fields are used)
- pre-selecting of FK values when adding new entities.
- Automatic paging
- much more.
The generated code is a VS.NET 2005 website project and is ready to use.
Please read the enclosed readme for details how to use the templates, how to customize the templates and how to control the output of the templates through custom properties set in the LLBLGen Pro designer.
Bugs can be reported in the Template Studio and Custom Templates forum:
http://www.llblgen.com/tinyforum/Threads.aspx?ForumID=19
The templates are for adapter, as adapter didn't have a proper ASP.NET example (Selfservicing has HnD
), though they're easy to port.
The templates are a proof of concept, and are also meant to get you started on your own GUI templates or to give you ideas how to generate certain pieces of code.
Enjoy!
Changelog:
09-jan-2007:
ADDED: Preset which combines Adapter general 2005 preset and DbEditor preset so just 1 preset has to be used to generate both DAL and GUI
CHANGED: Switched off validation of request in the Page element of AddNew.aspx, EditExisting.aspx and ListSubset.aspx to allow Xml and other texts to be specified without getting a server error.
FIXED: When a DateTime field was part of the PK, the Search control wasn't properly generated: the code behind referred to a textbox control while a datetime field is generated as a DateTextBox.
FIXED: TextArea controls which were mandatory, weren't shown with a themed different background color.
FIXED: Mandatory DateTime fields weren't validatable, because the DateTextBox control lacked a proper validator property.
FIXED: In the search form for subset search, a non-nullable datetime field were shown as datetextboxes with the background color for required fields, and the field itself was marked as required as well.
FIXED: GUID pk's weren't usable in a search (for example for 'Edit Existing'), as the code behind file for the search control has incorrect code for converting the string to a normal GUID. Also added: code to make the code compilable for entities with a PK which is a byte[].
FIXED: Entities without a PK still got edit/delete functionality generated which was leading to non-compilable code or a badly functioning application.
FIXED: If a subset of the entities in the project is used to generate the code, the templates were still referring to all entities in the project, instead of using the selected subset.