当前位置:首页 » 多媒体相关

急急急!!!DataGrid的问题?


在datagrid中,我想通过链接某一字段到一个页面,并且想控制链接到的页面的大小,就是想通过window.open()来控制,不过现在的问题是,在url格式字符串中使用javascript的window.open()时就会找不到那个页面,请各位在线的高手帮忙解决一下,在下感激不尽。  
  datagrid右击选“列”,在选“url格式字符串”,就是在当中添加javascript代码控制链接到的页面的大小。

推荐阅读

  • CRM项目的成功与否 取决于部署后的管理 企业软件频道 [详细内容]
  • VFP中使用Grid控件设计通用录入界面 [详细内容]
  • 今天NOKIA确认了得BUG [详细内容]
  • 基于Linux的下一代电信平台开发项目启动 服务器存储频道 [详细内容]
  • 让注册表记住VFP应用程序的使用次数 [详细内容]
  • 使用E365手机几日后之又感受 [详细内容]
  • 博科宣布收购Silverback系统公司 服务器存储频道 [详细内容]
  • 网友回答:
    网友:guoyan19811021

    <asp:hyperlinkcolumn   text="xxx"   datanavigateurlfield="xx"   datanavigateurlfarmatstring="javascript:openwindow(xx.aspx?id={0},300,300);"headertext="xxxxx"</asp:hyperlinkcolumn>

    网友:caoit

    学习

    网友:guoyan19811021

    <asp:hyperlinkcolumn   text="xxxxxxxxxx"   datanavigateurlfield="usercode"   datanavigateurlformatstring="javascript:window.open(page.aspx,new,fullscreen=0,toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=133,height=110,top=0,left=0);"></asp:hyperlinkcolumn>  
     

    网友:xrll

    .....top=0,left=0);return   false;window.opener=null;window.close();".......  
      不然会出现两个窗口。

    网友:guoyan19811021

    学习!xrll()

    .

    讨论区

    Login