我想在一个页面中通过button按钮调用另一个页面,请问怎么调用啊,我刚开始学,请各位高手帮我解决下,谢谢。

解决方案 »

  1.   

    <asp:Button OnClientClick="javascript:window.open('a.aspx','test','')" />
      

  2.   

    <asp:Button OnClientClick="javascript:window.open('a.aspx','test','');renturn false" />
      

  3.   

    window.open后的几个参数分别代表什么意思呢?
      

  4.   

    晕,自己baidu google一下吧!!
      

  5.   

    open('a.aspx','test','')
    网页地址为a.aspx,名称为test
    当然还有更多的属性
    比如设施工具栏显示、页面大小等。。
      

  6.   

    window.open("Webpage.asp?",Derek,"height=100,width=100,status=yes,toolbar=yes, 
    menubar=no,location=no"); 
    此语句打开一个新窗口,页面为webpage.asp,参数为var,名字为Derek(用来在以后使用的html链接的target属性时引用这个窗口 ,高为100,宽为100,显示状态栏和工具条,不显示菜单和地址。 
      

  7.   

    window.open
    google一下,有很多相关资料
      

  8.   

    window.open();
    window.showModalDialog();
    window.showModelessDialog();
    div+css+js模拟;
      

  9.   

    这个问题有些初级了,建议你下些入门书看看。===================================================================
    中国DotNet程序员俱乐部 -- www.willsft.com -- 中国最专业的DotNet技术社区!DotNet技术支持群: 3354034
    34857327 、24694039、19055417、2684939、1621937、37718551、25570926 
    ===================================================================