当前位置:编程学习 > C#/ASP.NET >>

dsoframer.ocx 使用其方法保存文件到服务器出现问题。

 我是这样使用脚本调用dsoframer.ocx方法的:
 function SaveToWeb()
        {
         alert("1");
         alert("1-1");
         //document.all.oframe.showdialog(1); 这个方法就可以正常使用

                //下面的HttpInit()、HttpAddPostCurrFile、HttpPost都没用反应
         document.all.oframe.HttpInit();
         alert("2");
         document.all.oframe.HttpAddPostCurrFile("File", "");
         alert("3");
         document.all.oframe.HttpPost("http://localhost:1997/Handler.ashx");
         alert("4");
        }
我使用了alert调试,alert("2");就不会执行。但是我用document.all.oframe.showdialog(1);就可以正

常使用,大家有没知道这是什么原因的。 --------------------编程问答-------------------- document.all.oframe.HttpInit(); 出了问题,左下角没有报错吗?

如果组件没有问题的话,也许是授权不够.降低安全级别 --------------------编程问答-------------------- 同样问题,求答案~~~
补充:.NET技术 ,  组件/控件开发
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,