关于框架链接 ~~~~帮帮忙啊各位!!!!对了的话分全送!!!
我有一个框架文件
就像CSDN这样分为左右两个部分 我左边的部分name=left 右边的部分name=right
左边的部分我用treeview+XML做的
<?xml version= "1.0 " encoding= "utf-8 " ?>
<totallevels menuname= "一级 ">
<firstlevels menuname= "二级 ">
<twolevels menuname= "三级 ">
<threelevels menuname= "叶子 " linkurl= "b.aspx "> </threelevels>
</twolevels>
</firstlevels>
</totallevels>
这是左边页面的代码
<asp:TreeView ID= "Menutree " runat= "server " DataSourceID= "Menutreexml " ImageSet= "Faq " ExpandDepth= "2 " ShowLines= "True ">
<ParentNodeStyle Font-Bold= "False " />
<HoverNodeStyle Font-Underline= "True " ForeColor= "Purple " />
<SelectedNodeStyle Font-Underline= "True " HorizontalPadding= "0px " VerticalPadding= "0px " />
<NodeStyle Font-Names= "Tahoma " Font-Size= "8pt " ForeColor= "DarkBlue " HorizontalPadding= "5px "
NodeSpacing= "0px " VerticalPadding= "0px " />
<DataBindings>
<asp:TreeNodeBinding DataMember= "firstlevels " TextField= "menuname " />
<asp:TreeNodeBinding DataMember= "twolevels " TextField= "menuname " />
<asp:TreeNodeBinding DataMember= "threelevels " NavigateUrlField= "linkurl " TextField= "menuname " />
<asp:TreeNodeBinding DataMember= "totallevels " TextField= "menuname " />
</DataBindings>
</asp:TreeView>
<asp:XmlDataSource ID= "Menutreexml " runat= "server " DataFile= "~/Xml/Menutree.xml "> </asp:XmlDataSource>
在叶子这一级 我做了个linkurl= "b.aspx " 我想当点击这个叶子的时候然后右边的页面就转向到b.aspx就和CSDN这个一样的,,,,,帮帮忙啊各位
[解决办法]
target = "right "
[解决办法]
<threelevels menuname= "叶子 " linkurl= "b.aspx " target = "right "> </threelevels>
[解决办法]
<asp:TreeNodeBinding DataMember= "threelevels " NavigateUrlField= "linkurl " TextField= "menuname " target = "right " />
[解决办法]
哦
没看清楚写错了。。。
楼上的正确