Wednesday, July 1, 2015

ModelState.IsValid always false

Put this line above ModelState condition and check the values you getting for variable errors.

var errors = ModelState.Values.SelectMany(v => v.Errors);
 
 

No comments:

Post a Comment

TinyMCE Insert/Edit link not editable

 To fix this add  e.stopImmediatePropagation()  as below. $(document).on('focusin', function (e) {             if ($(e.target).close...