<%: Html.TextBoxFor(model => model.Division) %>
but I'd line to use the databind on that but at the minute I cant get the "data-bind" attribute into the helper. I've used attributes before such as @class, Id etc but this one is tricky due to the - any Ideas.. Ive tried.
<%: Html.TextBoxFor(model => model.SupplierName, new { data-bind = "SupplierName"}) %>
but no joy. we heavily use the Editor and Text box helpers and I'd really like to integrate these into the Item's with knock out.
Can you answer this question?
Write Answer1 Answers