Created
August 30, 2013 07:43
-
-
Save dgg/6387250 to your computer and use it in GitHub Desktop.
Model binding dynamic collections. III DisplayTemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tr> | |
<td> | |
@Html.HiddenFor(m => m.ClientOrder, new { @class = "data-sort" }) | |
@Html.HiddenFor(m => m.Number) | |
@Html.DisplayFor(m => m.Number) | |
</td> | |
<td> | |
@Html.HiddenFor(m => m.Text) | |
@Html.DisplayFor(m => m.Text) | |
</td> | |
<td>@Html.DisplayFor(m => m.IsEven)</td> | |
<td><span class="handle"></span></td> | |
</tr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment