<div class="editor-field"> <table> <tr> <td>@Html.AjaxComboBoxFor(model => model.CategoryId, "/Category/Lookup", "/Category/Caption", new { style = "width: 300px " }, new { sub_info = true } ) </td> <td>@Html.ValidationMessageFor(model => model.CategoryId)</td> </tr> </table> </div>
If you position your cursor after of <table> then you press Ctrl+KC, Visual Studio will put comment around your table tags
<div class="editor-field"> @*<table> <tr> <td>@Html.AjaxComboBoxFor(model => model.CategoryId, "/Category/Lookup", "/Category/Caption", new { style = "width: 300px " }, new { sub_info = true } ) </td> <td>@Html.ValidationMessageFor(model => model.CategoryId)</td> </tr> </table>*@ </div>
No comments:
Post a Comment