hi all,
As i am new in this technology. i'm facing some obstacles.
i have code but that is not working :
@Html.DropDownListFor(m => m.CountryId, Model.CountryId,null, new { @onchange = "ChangeCulture();" })
i'm getting error over here : Model.CountryId,null,
please help me with the explaination
What I have tried:
@Html.DropDownListFor(m => m.CountryId, Model.CountryId,null, new { @onchange = "ChangeCulture();" })
@Html.DropDownListFor(m => m.CountryId, Model.LanguageSelector, new { onchange = "ChangeCulture();" })
@Html.DropDownList(a => a.CountryId, "Select Your Country", new { @class = "form-control", onchange = "clickMe()" })
@Html.DropDownListFor(a => a.CountryId, Model.CountryName,null, new {@onchange="clickMe()"});