Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to display selected data in dropdownlist in view???
Maharudra Gadekar
Nov 22 2016 11:36 PM
244
Reply
Hi,
I am using HTML 5 control i.e dropdownlist are as follws:.......
<div id="ddlsplcategory">
<select id="spclcategorylst" multiple="multiple" name="spclcategorylst" onchange="HideLbl()">
<option value="AG" id="1">Agriculturist</option>
<option value="DP" id="2">Defence Person</option>
<option value="FF" id="3">Freedom Fighter</option>
<option value="PH" id="4">Physically Handicapped</option>
<option value="PAP" id="5">Project Affected Person</option>
</select>
</div>
the purpose of using this control for mulitple selection of dropdownlist value and save the selected item list i.e if i am selected Agriculturist,Defence Person,Freedom Fighter and save databse column value i.e AG,DP,FF also......save is successfully.
But how to display the drodownlist selected value in mvc view
Please Help me
Thanks in advance....
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
learn Xamarin step by step
what is difference between for and foreach loop