1.把default.aspx分割成左右两部分:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>未命名頁面</title>
</head>
<frameset cols ="230px,*" >
<frame name="leftTree" src ="Tree.aspx" />
<frame name="Content" src="Content.aspx" />
</frameset>
</html>2.左边叶面为一个treeview,选中某个节点后,把该节点的value传递给右边content.aspx,并显示
在content.aspx中一个textbox中
如何实现?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>未命名頁面</title>
</head>
<frameset cols ="230px,*" >
<frame name="leftTree" src ="Tree.aspx" />
<frame name="Content" src="Content.aspx" />
</frameset>
</html>2.左边叶面为一个treeview,选中某个节点后,把该节点的value传递给右边content.aspx,并显示
在content.aspx中一个textbox中
如何实现?
解决方案 »
- 想做个不是很复杂的程序,B/S架构的,我选了ASP.net,那用什么开发工具呢?
- asp.net MVC 如何使用asp.net webForm中的母版
- 求教一个关于定制textbox控件问题
- UrlRewriter.Net 无法找到网页
- asp.net 源码 管理问题 Microsoft Visual SourceSafe
- 请问有谁知道acewang (龍芯*Inside!) 的hotmail或者其它联系方式,我找他请教一个问题。
- 后台调用前台html控件
- asp中如何取得用户控件的值?
- 关于WebMartrix编辑器的问题
- 强类型数据集的DataGrid绑定问题
- 谁知道APNG 的文件格式啊
- 谁帮我翻译一文章
在leftTree的frame里加脚本,写send函数,对Content时的文本框进行赋值操作
比如:
function send(nodeValue){
top.frames["Content"].document.getElementById(textboxId).value = nodeValue;
}