Showing one at a time is possible,you will need to change your modalpopextender properties like PopupControlID.
Here is my idea,you will create multible asp panels but each one must be hidden and has it's own controls and data,when you want to show a specific panel,in codebehind:
1) Change that panel's visible to true
2)You will need a code,something like this:
ModalPopupExtender1.PopupControlID = "Panel1";
ModalPopupExtender1.OkControlID="btnOK";
ModalPopupExtender1.CancelControlID = "btnCancel";
of course the TargetControlID can be set dynamically too,or set it to a faik button (button/linkbutton with a style (display:none)),then show/hide the modal popup only by code.
Best Regards,
Ala'a Alnajjar
----------------------------------------------------
Please remember to click “Mark as Answer” on the post(s) that help(s) you even if they were for the same person.
Also remember to close the thread by selecting “Resolved”,you will find it in your first post.
Convert C# to VB.net and visa versusMy Webblog