Related DropDownLists and FormView (ASP.NET)

Related DropDownLists and FormView (ASP.NET)

Old forum URL: forums.lhotka.net/forums/t/1305.aspx


Daniel Thomas posted on Friday, September 22, 2006

This question probably isn't directly related to CSLA, but I thought I'd try here anyway since Rocky always explains things in a way that even a dolt like myself can understand.

Let's say I have two DropDownLists, Countries and Provinces, in a FormView. When the user changes the Country, the Province list should change to show the provinces in that country.

I can't figure out how to get the second list to update. If this wasn't in a FormView, then I'd just call DataBind() for the second list. But it doesn't look like you can do that with a control in a FormView. I'm sure there's a way -- I'm just to dense to figure it out.

Any ideas?

-Dan

Copyright (c) Marimer LLC