[How Do I:] Trigger an UpdatePanel Refresh from a DropDownList Control?

by Joe Stagner

In most of our videos on the ASP.NET AJAX UpdatePanel, we have used a Button control to cause an UpdatePanel to refresh its content. Yet we may use any event raised by any other ASP.NET server control. This video uses the SelectedIndexChanged event of the DropDownList control as a trigger for refreshing an UpdatePanel control. We see also how we can dynamically change the stylesheet class associated with the controls contained in the UpdatePanel control.

▶ Watch video (9 minutes)