Simple, my friend .. I just have one update panel with several asp: Panel or asp: PlaceHolders inside. All of them should be visible, except those that should be displayed based on the clicked button.
If your buttons are inside the UpdatePanel, you're done. If they are outside - no problem! Add AsyncPostBackHandlers to the UpdatePanel by pointing to these buttons. Although the buttons are not in the UpdatePanel, they will still generate an AJAX callback :)
You can give an example if you need it too!
source share