Add sample for DisplayForModel Html Helper.
Showcased a lot of the core pieces of DisplayFor in the sample. Some pieces are still missing such as DataType handling. The infrastructure is there to handle it in the TemplateRenderer but the model metadata providers do not construct the metadata with the data types.
This commit is contained in:
parent
1f47abd758
commit
5026788145
|
|
@ -0,0 +1 @@
|
|||
<p>This is the DisplayForModel output. Once default templates are implemented this should go away.</p>
|
||||
|
|
@ -315,4 +315,8 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div style="float: left; border: 5px solid green;">
|
||||
@Html.DisplayForModel()
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Loading…
Reference in New Issue