阿贾克斯ModalPopup在IE8错误显示 - IE9 [英] Ajax ModalPopup wrong display in IE8 - IE9
问题描述
林正确显示(屏幕被放大,当我使用鼠标滚轮屏幕变得越来越大:()
我已经尝试改变的doctype,加入< META HTTP-当量=X-UA-Compatible的内容=IE = 8
我希望你能帮助我...
*使用Ajax工具包3.5 IM,Visual Studio 2008的
下面是我的code:
ModalPopUpPage
< ASP:ModalPopupExtender ID =Panel7_ModalPopupExtender=服务器
CacheDynamicResults =真
DynamicServicePath =启用=真
PopupControlID =Panel7CancelControlID =Button6
的TargetControlID =LABEL3OkControlID =LABEL3
RepositionMode =无>
< / ASP:ModalPopupExtender>
< ASP:面板ID =Panel7=服务器背景色=#EAEFF5边框=实
宽度=100%的CssClass =>
< ASP:UpdatePanel的ID =UpdatePanel1=服务器的UpdateMode =始终>
<的ContentTemplate>
< ASP:GridView控件ID =GridViewBusAna=服务器AllowPaging =真
的AutoGenerateColumns =假的CssClass =标签,每页=6>
<列>
< ASP:CommandField中ShowSelectButton =真/>
< ASP:绑定列的DataField =pdcNroHEADERTEXT =/>
< ASP:绑定列的DataField =PDC
HEADERTEXT =/>
< ASP:绑定列的DataField =HEADERTEXT =/>
< /列>
< SelectedRowStyle背景色=#CCCCCC/>
< / ASP:GridView控件>
< BR />
< /的ContentTemplate>
< / ASP:UpdatePanel的>
< / ASP:面板>
试试这个,更改CSS,在你的CSS文件中的位置将是相对的,美国可以把它变成
的位置是:绝对的;
Im using ModalPopup (AJAX) in my aspx web (VB.NET) using a masterpage, it works fine in (ie6, Firefox) but when i use IE7, IE8, IE9, when i want to open the Modalpopup, is displayed incorrectly (the screen is enlarged and when I use the mouse wheel the screen become bigger and bigger :( )
I've already try changing the doctype, adding '<meta http-equiv="X-UA-Compatible" content="IE=8".
I hope you can help me...
*Im using AJAX TOOLKIT 3.5 , VISUAL STUDIO 2008
Here is my code:
ModalPopUpPage
<asp:ModalPopupExtender ID="Panel7_ModalPopupExtender" runat="server"
CacheDynamicResults="True"
DynamicServicePath="" Enabled="True"
PopupControlID="Panel7" CancelControlID="Button6"
TargetControlID="label3" OkControlID="label3"
RepositionMode="None" >
</asp:ModalPopupExtender>
<asp:Panel ID="Panel7" runat="server" BackColor="#EAEFF5" BorderStyle="Solid"
Width="100%" CssClass="" >
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
<ContentTemplate>
<asp:GridView ID="GridViewBusAna" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CssClass="tab" PageSize="6">
<Columns>
<asp:CommandField ShowSelectButton="True" />
<asp:BoundField DataField="pdcNro" HeaderText="" />
<asp:BoundField DataField="pdc"
HeaderText="" />
<asp:BoundField DataField="" HeaderText="" />
</Columns>
<SelectedRowStyle BackColor="#CCCCCC" />
</asp:GridView>
<br />
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
try this one, change the css, in your css file the position will be relative, u can change it into
position: absolute;
这篇关于阿贾克斯ModalPopup在IE8错误显示 - IE9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!