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

怎么点击树形菜单,在右框架打开?
我有二个框架,左边是树形菜单,右边是内容,怎么样点击左边的树形菜单连按,在右边打开,树形菜单,树形菜单是动态的,请问我要怎么做?

------解决方案--------------------
设置url的target属性为右边框架的名称如rightframe
------解决方案--------------------
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
this.loadcontext(e.Node);
isnew = false;
mideordernum = int.Parse(e.Node.Tag.ToString());
treenode_ = e.Node;
if (e.Node.Level > 0)
{
this.label20.Text = "选择单据编号: " + e.Node.Text;
this.label21.Text = "选择单据编号: " + e.Node.Text;
}
if (mideother != null)
{
mideother.loadreflash(mideordernum, e.Node.Text);
}
if (mideproduct != null)
{
mideproduct.loadMideProductDetails(mideordernum, e.Node.Text);
}
if (midedetail != null)
{
midedetail.loadMideDetailsTable(mideordernum, e.Node.Text);
}
}