ASP.NET Details Page
This generator creates a standard ASP.NET details page based on a single Xomega
Framework data object defined in the object model, which the generated page will
use as a data model to bind the controls to. The data object name must be specified
in the generator's configuration (see the Details Object parameter) and may be built
out of multiple model structures or operations.
Functionally, this generator is similar to the
WPF Details Form and Silverlight
Details Form generators. It can also make any child grids editable
if the structures that such grids are based on appear as an input of any operation.
In this case it will define an EditItemTemplate for the GridView with appropriate
controls for each column and also grid command buttons that allow creating, editing
or deleting rows in the grid.
This generator can be rerunnable during initial prototyping phase to allow quickly
visualizing the object model. During this phase you can add additional code to a
separate partial class. However, you will eventually want to edit the generated
code manually to remove columns or fields that should not be displayed and perhaps
add other controls or rearrange the controls on the page. At this point you may
want to rename the generated file, so that the generator doesn't accidentally override
it or delete it during the cleanup operation. This is why it is recommended to make
the generated files start with an underscore to distinguish them from non-generated
files.
Below is a sample page that was generated by this generator.
|