Hi,

I would like to handler multiple ModalPopunExtender, Login and CreateAccount links, those open MPE each one, as below:

    TargetControlID="lnkLoggin"
    PopupControlID="pnlLogin"    
    DropShadow="true"
    BackgroundCssClass="backgroundColorPopup">

   


    TargetControlID="lnkCreateAccount"
    PopupControlID="pnlSubscription"    
    DropShadow="true"
    BackgroundCssClass="backgroundColorPopup">

   


Login MPe is working fine but CreateAccount MPE open an User control which contains one form (radiobuttonlist RBL). When you pick an item and submit form, I would like to display others MPE which correspond to the choice of the user in the RBL as below:

    TargetControlID="btnSubmit"
    PopupControlID="pnlFirstLogin"    
    DropShadow="true"
    BackgroundCssClass="backgroundColorPopup">

    TargetControlID="btnSubmit"
    PopupControlID="pnlCreateAccount"    
    DropShadow="true"
    BackgroundCssClass="backgroundColorPopup">

   
       
            onclick="CloseWindows_Click" />
       
        Vous n'êtes pas inscrit
       
       
       
           
               
                    Vous êtes déjà abonné au magazine papier et Web. Vous pouvez vous inscrire avec votre numéro d'abonné.
               
               
                    Vous êtes déjà abonné au magazine papier. Vous pouvez vous inscrire avec votre numéro d'abonné.
               
               
                    Vous êtes déjà abonné au magazine Web. Vous pouvez vous inscrire avec votre numéro d'abonné.
               
               
                    Vous n'êtes pas abonné et vous souhaitez accéder aux services payant du site.
               
               
                    Vous n'êtes pas abonné et vous souhaitez accéder aux services gratuit du site.
               
           
           
           
       
       
       
            OnClick="btnSubmit_Click" />

       
       
    
       


     

   

It almost work with that code behind but when I submit the RBL form, MPE disappears and when I click again on the CreateAccount link, it displays directly the right MPE (not RBL form):

protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                pnlSubscriptionWindow.Visible = true;
                pnlFirstLogin.Visible = false;
                pnlCreateAccount.Visible = false;
            }
            else
            {
                pnlSubscriptionWindow.Visible = false;
            }
        }

protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            switch (rblTypeSubscription.SelectedValue)
            {
                case "1":
                case "2":
                case "3":
                    pnlFirstLogin.Visible = true;
                    pnlCreateAccount.Visible = false;
                    mpeFirstLogin.Show();
                    break;
                case "4":
                    //TODO voir ce qu'il faut faire
                    break;
                case "5":
                    pnlCreateAccount.Visible = true;
                    pnlFirstLogin.Visible = false;
                    mpeCreateAccount.Show();
                    break;
                default:
                    pnlSubscriptionWindow.Visible = true;
                    break;
            }
        }


I hope I've been clear in my explanations.