modalPopup コントロールを IE8 で使用すると問題が発生します。popUpする必要があるパネルはすでにポップアップしています。
(IE 8 よりも新しいブラウザーで) 見えると思われるように、パネルが一列に並んでいて、そのうちの 1 つをクリックすると、ウィンドウがポップアップします (AJAX modalPopUp を使用)。
また、IE8 では、リスト内のパネルのいずれかをクリックしなくても、ポップアップ ウィンドウ (パネル) が表示されます。
コードは次のとおりです。
<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:panel id="PanelManufacturerPictures" runat="server" scrollbars="Auto" width="100%">
<asp:datalist id="DataListManufacturersPictures" runat="server" cellpadding="5" repeatdirection="Horizontal" repeatcolumns="11" showfooter="False" showheader="False" cellspacing="16">
<itemstyle height="75px" width="75px"/>
<itemtemplate>
<asp:imagebutton id="ImageButtonManufacturerPicture" runat="server" alternatetext='<%# eval("manufacturername") %>' Height="100%" ImageUrl='<%# "~/elimansourwcf/manufacturerspictures/"+databinder.eval(container.dataitem, "imageurl") %>' ToolTip='<%# eval("manufacturername") %>' Width="100%" CausesValidation="False" /> <asp:roundedcornersextender id="RoundedCornersExtenderDetailsManufacturers" runat="server" targetcontrolid="PanelManufacturersDetails" radius="8" bordercolor="Red">
</asp:roundedcornersextender>
<asp:modalpopupextender id="ModalPopupExtenderManufacturerDetails" runat="server" popupcontrolid="PanelManufacturersDetails" targetcontrolid="ImageButtonManufacturerPicture" backgroundcssclass="modalBackgroundProducts" cancelcontrolid="ButtonManuCancel">
</asp:modalpopupextender>
<asp:panel id="PanelManufacturersDetails" runat="server" backcolor="White">
<div dir="rtl">
<asp:label id="LabelManufacturerName" runat="server" font-bold="True" font-size="XX-Large"></asp:label>
<div style="float: right;">
<asp:table id="TableDetails" runat="server" cellpadding="15" font-bold="True" cellspacing="15">
<asp:tablerow id="TableRow5" runat="server">
<asp:tablecell id="TableCell8" runat="server" width="100px" horizontalalign="Left" columnspan="2">
<asp:roundedcornersextender id="RoundedCornersExtenderDetailsManufacturerCancel" runat="server" targetcontrolid="ButtonManuCancel" radius="8">
</asp:roundedcornersextender>
<asp:button id="ButtonManuCancel" runat="server" text="צא מחלון זה" width="75px" causesvalidation="False" backcolor="Red" forecolor="White" font-bold="True"/>
</asp:tablecell>
</asp:tablerow>
</asp:table>
</div>
</div>
</asp:panel>
</itemtemplate>
</asp:datalist>
</asp:panel>
</contenttemplate>
</asp:updatepanel>
投稿を見ました:
Ajax ModalPopup が IE8 で間違って表示される - IE9 しかし、css "position: absolute;" をどこに置くべきかわかりませんでした。
サイトの URL は次のとおりです。
ご協力ありがとうございました
[編集] Bounded Data Control で modalPopup を使用すると、この問題が発生することに気付きました。