AspNetCore.Docs/aspnet/web-forms/videos/how-do-i/how-do-i-synchronize-data-i...

1.5 KiB

title author description ms.author manager ms.date ms.topic ms.assetid ms.technology ms.prod msc.legacyurl msc.type
[How Do I]: Synchronize Data in Secondary User Control(s) Based Upon User Selections | Microsoft Docs rick-anderson In this video Chris Pels shows how to create two DropDownList controls where selecting an item in the first list populates the items in the second list. Firs... aspnetcontent wpickett 03/06/2009 article 55eadf85-3a2b-4993-8444-494cd2c92d65 dotnet-webforms .net-framework /web-forms/videos/how-do-i/how-do-i-synchronize-data-in-secondary-user-controls-based-upon-user-selections video

[How Do I]: Synchronize Data in Secondary User Control(s) Based Upon User Selections

by Chris Pels

In this video Chris Pels shows how to create two DropDownList controls where selecting an item in the first list populates the items in the second list. First, an ASP.NET page is created with two DropDownList controls, one for customer and the other for states in which the customer does business. The customer list is then populated in the code behind. Next, in the SelectedIndexChanged event of the customer list the items in the state list are populated based upon the selection. Finally, there is a discussion of how this approach can be applied to other types of controls and data.

▶ Watch video (22 minutes)