Radu Enucă's Blog
"By failing to prepare you are preparing to fail" - Benjamin Franklin
-
ASP.NET MVC–Cascading Dropdown Lists Tutorial–Part 4: Cascading using FORM Hijaxing
First of all let’s see what we have so far:
-
ASP.NET MVC–Cascading Dropdown Lists Tutorial–Part 3: Cascading using Microsoft AJAX (Ajax.BeginForm helper)
This method uses the Ajax.BeginForm helper. We will start by copying the DropDownNormalPostController from Part 1 and renaming it to DropDownAjaxPostController. Everything up to and including the Index action is the same as in the DropDownNormalPostController
-
ASP.NET MVC–Cascading Dropdown Lists Tutorial–Part 2: Cascading using normal FORM post (Html.BeginForm helper)
This method uses the Html.BeginForm helper and no client side scripts. We will start by creating a controller called DropDownNormalPostController:
-
ASP.NET MVC–Cascading Dropdown Lists Tutorial
There are several ways to achieve this, but before drilling into each of them let’s define the context:
-
ASP.NET MVC – Extending the DropDownList to show the items grouped by a category
As you can see we can mix the the <option> and <optgroup> tags at the same level but the <optgroup> tag cannot contain another <optgroup> tag inside.
-
ASP.NET MVC – Display visual hints for the required fields in your model
Let’s analyze each of the requests above: