У меня вопрос, можно ли установить добавление параметра ReadOnly
/ Disable
к DropDownlistFor
в указанном классе <'tr class = "TR_two">'
или <'td class = "TD_two">'
В <'tr class = "TR_one">' or <'td class = "TD_one">'
останется без изменений.
<table>
<tbody>
<tr class="TR_one">
<td class="TD_one">@Html.DropDownListFor(m => m.Model1[nr_rows].PrzyczynaNieobecnosci, new SelectList(Enum.GetValues(typeof(Urlopy))), " ", new { @class = "selectboxlist" })</td>
</tr>
<tr class="TR_two">
<td class="TD_two">@Html.DropDownListFor(m => m.Model1[nr_rows].PrzyczynaNieobecnosci, new SelectList(Enum.GetValues(typeof(Urlopy))), " ", new { @class = "selectboxlist" })</td>
</tr>
</tbody>
</table>