Click here to Skip to main content
15,914,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have list in Model. This list is having one selected value in it.

When I am using @HTML.DropDownListFor, it is showing me the list but, it is not showing the selected value. Please help.
Posted
Comments
vsrikanth87 2-Apr-14 10:51am    
can you post your view code here

1 solution

See this article and check your code you will get success
http://peternewhook.com/2013/02/asp-net-mvc-selectlist-selectedvalue-dropdownlistfor/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900