Problème d'affichage de la ModalPopup (AJAX) sous firefox
Bonjour,
J'ai un problème pour afficher une modalpopupextender sous firefox. Tout marche correctement sous Internet Explorer mais la popup ne s'affiche pas sous firefox.
Je travaille sous visual studio 2005.
J'affiche un usercontrol dans ma popup.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <asp:LinkButton ID="BtInscription" runat="server" OnClick="BtInscription_Click">S'inscrire</asp:LinkButton>
<asp:UpdatePanel ID="UpdatePanelPopup" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:Button runat="server" ID="hiddenTargetControlForModalPopup" Style="display: none" />
<ajaxToolkit:ModalPopupExtender RepositionMode="RepositionOnWindowResize" PopupDragHandleControlID="fakeDrag"
runat="server" ID="programmaticModalPopup" BehaviorID="programmaticModalPopupBehavior2"
PopupControlID="PanelForm" TargetControlID="hiddenTargetControlForModalPopup"
DropShadow="true" />
<asp:Panel Style="display: none;" runat="server" ID="PanelForm">
<uc1:UserManagment ID="UserManagment" Visible="false" runat="server"></uc1:UserManagment>
</asp:Panel>
<asp:Panel runat="server" ID="fakeDrag">
</asp:Panel>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="BtInscription" EventName="Click" />
</Triggers>
</asp:UpdatePanel> |
Voilà le code sur le bouton BtInscription:
Code:
1 2 3 4 5 6 7 8
|
protected void BtInscription_Click(object sender, EventArgs e)
{
UserManagment.Visible = true;
UserManagment.Mode = FormViewMode.Insert;
programmaticModalPopup.Show();
UpdatePanelPopup.Update();
} |
Merci de votre aide.