I am using a box without runat="server" and want to populate using jquery/json.
I am only using html controls not any aspx control,And please describe it briefly bcoz i am new to jquery/json concept.
Select box binding from database table.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
prasannaPosted Mar 5, 2015, 7:50 AM
using view bag property you can bind your dropdown
@Html.DropDownList("istateid", (SelectList)ViewBag.stateList, "--Choose Your State--")