问题描述
你好,
我有一个DetailsView控件,放置在由Ajax Control Toolkit的ModalPopupExtender定位的Panel内.
我想在LinkButton单击时弹出DetailsView控件,该按钮与DetailsView控件在同一页上的GridView控件中.
当我点击链接按钮时,
IE(8)中,它显示"Microsoft JScript运行时错误"
-在Chrome和Opera中,不会出现任何错误.
但是,在这两种情况下,都不会显示DetailsView.
该应用程序在某个时候运行良好,我对它进行了某些更改,但我认为在任何情况下都没有影响ModalPopupExtender的任何事情.
我遵循以下URL,但是已经为模式弹出窗口定义了CSS.
http://forums.asp.net/p/1315096/2606620.aspx
cssClass
Hello,
I have a DetailsView control, placed inside a Panel which is targetted by a ModalPopupExtender of Ajax Control Toolkit.
I want to popup the DetailsView control at LinkButton Click which is present in GridView Control on the same page as DetailsView Control.
When I click on the linkbutton,
-in IE(8), it gives "Microsoft JScript runtime error"
-in Chrome and Opera, it does not give any error.
In both the cases, however, the DetailsView does not appear.
The application was running perfectly sometime ago, I made certain changes to it but did nothing that could have affected ModalPopupExtender in any scenario, I suppose.
I followed following URL, but I already have a css defined for modal popup.
http://forums.asp.net/p/1315096/2606620.aspx
cssClass
.modal
{
background-color:White;
z-index: 10000;
border:1px;
filter:alpha(opacity=70);
opacity:0.7px;
}
任何帮助将不胜感激.
非常感谢!
Any help will be appreciated.
Many thanks!
推荐答案
这篇关于ModalPopupExtender中的JScript运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!