ASP.net AJAX 2.0模式彈出擴展本地而不是圓形的服務器
上我有一個modalpopup擴展,看起來像這樣:
alt text http://img441.imageshack.us/img441/6342/localmodal.jpg
實際的模式彈出被包裹圍繞着一個圓角擴展器,使其具有很好的彎曲外觀。下面是一個簡單的代碼片段:
<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="btnCancel" OkControlID="btnOk" TargetControlID="ibStartNow" PopupControlID="Panel2" PopupDragHandleControlID="PopupHeader" BackgroundCssClass="ModalPopupBG">
<asp:Panel ID="Panel2" style="display: none" runat="server">
<asp:Panel ID="Panel3" runat="server">
<div class="ConfirmationPopup" style="text-align:center; margin-right:auto;margin-left:auto;">
<div class="PopupHeader" id="PopupHeader">
Confirm Start Now<br />
</div>
<div class="PopupBody">
<br />
This will save the expense report header and allow
<br />
you to enter items into your expense report, are you sure?
<br />
<br />
</div>
<div class="Controls">
<asp:ImageButton ID="btnOk" runat="server" imageurl="~/images/ok.gif" CausesValidation="False" />
<asp:ImageButton ID="btnCancel" runat="server" imageurl="~/images/cancel.gif" />
</div>
</div>
</asp:Panel>
</asp:Panel>
<ajaxToolkit:RoundedCornersExtender ID="RoundedCornersExtender2" runat="server" TargetControlID="Panel3" Radius="6" Corners="All" BorderColor="#9BD1FA" Color="#377CB1">
</ajaxToolkit:RoundedCornersExtender>
奇怪的是我的運行IE8本地機器上使用火狐/鉻它看起來很棒服務器上看起來不錯,甚至。但一旦它在服務器上,我使用IE8它不再是圓形它基本上是一個正方形。
它只是沒有爲什麼在本地使用IE8它工作的意義,但使用IE8不再圓潤實際的Web服務器上,它看起來像這樣:
alt text http://img441.imageshack.us/img441/2977/servermodal.jpg
哇這個問題給了我一個名爲TumbleWeed的徽章..我敢打賭,你並不是很多人可以賺到那個! – JonH