Cascading DropDownLists using "Eager Loading" on client side
Posted by: BinaryIntellect.net :: The .NET Code Gallery,
on 13 May 2014 |
View original | Bookmarked: 0 time(s)
One of my earlier articles shows how to create cascading DropDownLists by making Ajax calls to the MVC action methods. While that approach is quite common and popular recently a reader asked whether something similar can be done without making any Ajax calls. If you want to implement cascading dropdownlists purely on client side then you will need to "eagerly load" all the data needed by them at the time of loading the page. This data can be stored in a hidden field and used as and when needed. Obviously...