天生舞男

我喜欢谦虚的学习各种...,希望自己能坚持一辈子,因为即使一张卫生巾也是有它的作用.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Post method tip

Posted on 2006-02-28 11:30  天生舞男  阅读(248)  评论(0编辑  收藏  举报
1.在TestPrint.aspx页面中
  document.all('TestPrintForm').action = "http://localhost/DicomPrint_2/print.aspx";
  document.all('TestPrintForm').submit();
  这种方法会把TestPrintForm窗体上所有的控件值传入print.aspx页面,
  并且形式为Request.Params的keys本身的值为控件的Name
2.TestPrint.aspx的Form标记中的不能有runat="server", 因为这样会提示TestPrint.aspx的视图状态无效。