Hi all,
I have a view that looks somewhat similar to this
<% using (Html.BeginForm()) {%>
<%= Html.DropDownList("Category") %>
<%= Html.DropDownList("SubCategory") %>
<input type="submit" value="Print" />
<%= Html.ActionLink("Cancel", "Index") %>
<% } %>
I was wondering if anyone knew how i could load the subcategory based on the selected Category? In webforms i'd just use the autopostback event to do this, but i'm a bit confused on how to do this using the mvc framework.
Thanks in advance