I am developing an MVC4 application. I want to change IsChanged field in my Model, when model.ExternalVenderNo is changed.
Bel
Try adding to attributes
@Html.EditorFor(model => Model.Lengthofside1, new { htmlAttributes = new { onchange = "OnChangeEvent(this)", @class = "form -control text-right" } })
This worked for me.