日期:2014-05-16  浏览次数:20344 次

望指点!.net js window.showModaldialog 提示对象不支持此属性或方法
前台:

function showPODetail()
{
  var MODE =document .getElementById("HIDBTNMODE").value;
  var PONO=document .getElementById("TXTPONO").value;
  var VDRCODE=document .getElementById("TXTVDRCODE").value;
  var LOCCODE=document .getElementById("DPLSHIPLOC").value;
   

  var ANSWER=confirm (document .getElementById ("HIDERROR").value );
  if (ANSWER==true)
  {
   
  strholding = window.showModalDialog('PODetail.aspx?PONO='+PONO +"&HIDBTNMODE="+MODE +"&VDRCODE="+VDRCODE +"&LOCCODE="+LOCCODE ,'NEWSITEML', 'dialogWidth=800px;dialogHeight=600px;center=yes;help=no;status=yes');
  
var abc=strholding
  }
   
}


后台:

 Protected Sub BTNSAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTNSAVE.Click
 
  Page.RegisterStartupScript("onLoad ", " <script> showPODetail(); </script> ") 

 End sub

错误提示:对象不支持此属性或方法,:‘window.showModaldialog’


请各位多多指教

------解决方案--------------------
showModalDialog 大小写没错吧?报showModaldialog?
------解决方案--------------------
在window2003中不支持吧?
------解决方案--------------------
2003的IE默认安全设置是很多页面都打不开的。
------解决方案--------------------
$(function(){alert("MARK,JF!!");});