//这是用的TreeView控件,当点击“发送邮件”,便在"MainFrame"显示其页面,请问,这代码要如何写?没用AJAX控件;  protected void tv_SelectedNodeChanged(object sender, EventArgs e)
        {
            if (tv.SelectedValue.ToString() == "发送邮件")
            {                //?????            }
        }//我看有个用的是AJAX控件,是这样写的,
if (tv.SelectedValue.ToString() == "在线Ping检测")
            {
                ScriptManager.RegisterClientScriptBlock(this.UpdatePanel1, this.GetType(), "error", "window.open('TRAP/Ping.aspx','mainFrame')", true);
            }