Hello All,
I am using the latest RC1 version of the ASP.NET AJAX and the latest version of the Control Toolkit. I have a ModalPopup that contains an UpdatePanel which contains some buttons and some drop down lists. I need this window to act like a little wizard, posting back as the users click the drop downs etc - your basic multi-step process. Once the user process is completed, clicking on a complete button in the ModalPopup will end the process and close the ModalPopup window using the .Hide() method. The first issue I had to work through was that the ModalPopup would close during the postback but I solved this by issuing a .Show() in the Postback button click event handler (throwing that in just in case in makes a difference). Now the issue I have is that in Firefox, if the postbacks happen, and I close the window programatically or otherwise, the ModalPopup disappears like expected, but the window remains modal, meaning that the elements on the page cannot be clicked, almost as if the browser is frozen. This is working fine in IE7, it's only in firefox where I get this issue.
Any help on this issue would be greatly appreciated as the this is a show stopper for the client.
Here is the little ModalPopup panel
1 <asp:Panel ID="pnlBuyBox" runat="server" CssClass="buyBox" Style="display: none;">
2 <asp:UpdatePanel runat="server" ID="pnlUpdateBuyBox">
3 <ContentTemplate>
4 <div>
5 <asp:Label runat="server" ID="lblPFName"></asp:Label>
6 -
7 <asp:Label runat="server" ID="lblEntryID"></asp:Label>
8 </div>
9 <asp:Repeater runat="server" ID="rptChoices">
10 <ItemTemplate>
11 <div>
12 Select Options:
13 </div>
14 <div>
15 <%#Eval("Prompt")%>
16 :
17 <asp:DropDownList runat="server" ID="ddlChoices">
18 <asp:ListItem Text="choice1" Value="choice1"></asp:ListItem>
19 <asp:ListItem Text="choice2" Value="choice2"></asp:ListItem>
20 <asp:ListItem Text="choice3" Value="choice3"></asp:ListItem>
21 <asp:ListItem Text="choice4" Value="choice4"></asp:ListItem>
22 </asp:DropDownList>
23 </div>
24 </ItemTemplate>
25 </asp:Repeater>
26 <asp:Button runat="server" ID="btnTest" Text="Can I Post Back" OnClick="btnTest_Click"></asp:Button><br />
27 <asp:Button runat="server" ID="btnDone" Text="Can I Quit this" OnClick="btnDone_Click"></asp:Button><br />
28 <asp:Button runat="server" ID="btnOK" Text="OK" />
29 <asp:Button runat="server" ID="btnCancel" Text="Cancel" />
30 </ContentTemplate>
31 </asp:UpdatePanel>
32 </asp:Panel>
the ModalPopup Control
<ajaxToolkit:ModalPopupExtender ID="mpeBuyBox" runat="server"
TargetControlID="lnkDetails"
PopupControlID="pnlBuyBox"
DropShadow="true"
OkControlID="btnOK"
OnOkScript="onOK()"
CancelControlID="btnCancel" />
Some of the Event Handling Code Stubs
1 Sub btnTest_Click(ByVal sender As Object, ByVal e As EventArgs)
2 lblEntryID.Text = "I Changed this " & DateTime.Now.ToString()
3 mpeBuyBox.Show()
4 End Sub
5
6
7 Sub btnDone_Click(ByVal sender As Object, ByVal e As EventArgs)
8
9 mpeBuyBox.Hide()
10 End Sub