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:
N. Taylor Mullen 2014-04-02 16:12:14 -07:00
parent 1f47abd758
commit 5026788145
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
<p>This is the DisplayForModel output. Once default templates are implemented this should go away.</p>

View File

@ -315,4 +315,8 @@
</table>
</div>
<div style="float: left; border: 5px solid green;">
@Html.DisplayForModel()
</div>
</div>