如果单纯只是添加几个按钮,是不会导致你所说的问题的,估计是你的代码哪写错了.

解决方案 »

  1.   

    //=============================  left.ascx  =============================
    public class left: UserControl
    {
    public void btnlogo_click(object sender, System.EventArgs e)
    {
    Response.BufferOutput = true;
    Response.Redirect("http://www.163.com");
    }
    public void btnFind_click(object sender, System.EventArgs e)
    {
    Response.BufferOutput = true;
    Response.Write("<script>alert('编辑完成!');</script>");
    }
    }
      

  2.   

    这段代码我觉得没有什么问题,我的教训是使用用户控件时,应注意与父文档的配合问题。
      

  3.   

    我也认为没问题,可是问题到底在哪儿呢,高手指点