Latest

Master/Detail Dropdownlists Without Postback

Suppose you have three sets of data:  Customers, Orders, Products. 

You want to present three dropdownlists–one for each set of data.  When I select a Customer from list A, list is rebuilt with Orders for that customer, the first order is selected, and list C is updated with the Products for that order, the first Product selected.

Using ASP.NET postbacks is pretty straightforward, but it’s also pretty ugly.  Al Alberto got us most of the way to a solution with this article on CodeProject.  I’ve taken his work and extended to achieve the solution descibed above

 

 

Author: William Hennessy

Co-founder of St. Louis Tea Party Coalition and Nationwide Chicago Tea Party Persuasive design expertLatest book: Turning On Trump: An Evolution (2016)Author of The Conservative Manifest (1993), Zen Conservatism (2009), Weaving the Roots (2011), and Fight to Evolve (2016)I believe every person deserves the dignity of meaningful work as the only path to human flourishing.