Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
61 Points
51 Posts
Mar 01, 2012 01:35 PM|LINK
but i initialize, and fill it different ... how i add that first value to the dropdown, and then start fill it in the next position?
i forgot tell u that i use mvc v1
How i initialize: ViewData["ddClave2"] = new SelectList(new[] { "(Selecciona)" }); how i deffine it: <% =Html.DropDownList("ddClave2") %>
ahinestrosa1...
Member
61 Points
51 Posts
Re: how to handle dropdownlist mvc/jquery
Mar 01, 2012 01:35 PM|LINK
but i initialize, and fill it different ... how i add that first value to the dropdown, and then start fill it in the next position?
i forgot tell u that i use mvc v1
How i initialize: ViewData["ddClave2"] = new SelectList(new[] { "(Selecciona)" }); how i deffine it: <% =Html.DropDownList("ddClave2") %>