I have page Add.aspx containing a number of UserControls: AddRequest.ascx, AddOperation.ascx, AddObject.ascx, etc. Depending on Request["type"] one control becomes visible.
Each UserControl contains a number of DropDownLists that are being filled via SqlDataSource from DB. For example, types, statuses, currencies, etc.
It seems that appropriate SqlDataSources queries DB even if it's UserControl-owner isn't visible. So having n controls, only 1 query is really needed and n-1 are not.
How can I change this behavior?