日期:2014-05-18  浏览次数:20533 次

请高帮我看一下为什么我点击button按钮另外一个页面没有打开?
下面是button控件的事件代码:请高手看看为什么,我在浏览页面点击些button按钮没有打开customize2.aspx页面?

protected   void   Maths_Click(object   sender,   EventArgs   e)
        {
                Result   result   =   new   Result();
                result   请高=   GetResult(Convert.ToInt32(txtOutPort.Text),   Convert.ToInt32(txtDigital.Text),   Convert.ToInt32(txtOther.Text));
                if   (Session[ "List "]   ==   null)
                {   }
                else
                {
                        if   (Convert.ToInt16(txtOutPort.Text.Trim())   >   Convert.ToInt16(txtDigital.Text.Trim())   +   Convert.ToInt16(txtOther.Text.Trim()))
                        {
                                Response.Write( " <script   language= 'javascript '   type= 'text/javascript '> alert( '内线端口总数必须大于外线端口总数! ') </script> ");
                        }
                        else
                        {
                                Response.Write( " <script   language= 'javascript '   type= 'text/javascript '> window.open( 'customize2.aspx ', ' ', 'width=980,height=700,toolbar=yes,   menubar=yes,   scrollbars=yes,   resizable=yes,location=yes,   status=yes ') </script> ");
                        }
                }
        }

------解决方案--------------------
你会设置断点调试吗?