ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Autoselect first for odropdown
Title:
B
I
{code}
?
Hi, In this example i want to select the first one by default: @(Html.Awe().Odropdown("MealsOdropdown") // using custom helper .Url(Url.Action("GetMeals", "Data")) .Parent("CatOdropdown", "categories")) Thanks
Save Changes
Cancel
ssantysiak
asked at 26 Sep 2016
try this: @Html.Awe().AjaxRadioList("MealsOdropdown").Odropdown(o => o.AutoSelectFirst())
at 26 Sep 2016
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK