LinkButton打开新窗口

<script type="text/javascript">  
    function   openmessagewin(id)   {      
     window.open   ("/qy.aspx?ID="+id,   "信息窗口",   "height=400,   width=800,   toolbar   =yes,   menubar=yes,   scrollbars=yes,   resizable=yes,   location=yes,   status=yes")  
     }    
  </script>

.cs
 LinkButton1.Attributes.Add("onclick", "openmessagewin(" + _id + ")");

posted @ 2009-06-16 13:47  一只白色的大鸟  阅读(1652)  评论(0编辑  收藏  举报