Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
how to write the validation for the checkboxlistfor in MVC
Harikanth Kompally
Aug 21 2016 7:54 AM
440
Reply
tr>
<td><b>Course</b></td>
<td>
@Html.HiddenFor(m => m.Id)
@{var test = Model;
}
@Html.CheckBoxListFor(m => m.courseMappingList.CourseIds,
m => m.CourseList,
m => m.CourseId,
m => m.CourseName,
m => m.selectCheckCourseList)
@Html.ValidationMessageFor(m => m.courseMappingList)
</td>
</tr>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Show url content in windows forms application
from table it read only int value from EmpID but when it str