Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
Partial Views with Validations
Sasi Reddy
10 years ago
758
Reply
public ActionResult VehicleLoanBasicDetailsSave(FormCollection form)
{
if (form["nameofapplicant"].Trim().Length == 0)
ModelState.AddModelError("Name", "Name is required");
return PartialView("_VehicleLoanBasicDetails");
}
In controller ,I wrote validations like that.But i need to display that errors .Can u tell me how to display the errors
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how to run exe file on window shutdown
show event in calendar