TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
611
129.3k
Bind Drop Down List.
Sep 26 2020 2:43 AM
I have bind drop down list but i have face a issue.
<div class="ms-form-group has-icon">
<label>Choose Category</label>
@Html.DropDownListFor(model => model.EducationImageCategoryName, Model.categoryMasters, "--Select Category--", new { @class = "form-control", @required = "required" })
</div>
@Html.ValidationMessageFor(model => model.EducationImageCategoryName, "", new { @class = "text-danger", @style = "color:red;!important" })
There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key EducationImageCategoryName
Reply
Answers (
2
)
Owin a Myth or truth?
How to close current form in C# and open the second form as modal dial