You can use ngModel with stronglytyped view as follows:
@Html.TextBoxFor(m => m.EmailAddress, new { @Value = "Email", @onfocus = "this.value = '';", @onblur = " if (this.value == '') { this.value = 'Email'; }", @class = "text", data_ng_model = "loginModel.EmailAddress" })
No comments:
Post a Comment