日期:2014-05-17  浏览次数:20555 次

如何让TreeView1.SelectedNode.Text的值通过url传递更新首页框架中间的页面
如何让TreeView1.SelectedNode.Text的值通过url传递更新首页框架中间的页面
首页
<!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>
  <title></title>
  <style type="text/css">
  table
  {
border-style: dashed;
  border-width: 0px;
  padding: 0px;
  margin: 0px;
  width:100%;
height:100%;
  }
   
  .header
  {
  width:100%;
  height:10%;
  }
.left
{
width:20%;
height:80%;
}
.right
{
width:70%;
height:80%;
}


  </style>
</head>
<body>
  <table cellpadding="0" cellspacing="0" border="0">
  <tr>
  <td colspan="2" class="header">
  <iframe name="frmHeader" 
  src="header.aspx"  
  title="系统信息" width="100%" align="top" scrolling="no" frameborder="0" 
  id="Iframe1"></iframe>
  </td>
  </tr>
  <tr style="height:500px" valign="top">
  <td class="left">
  <iframe name="frmLeft" src="left.aspx" title="功能区" width="100%" align="top" 
  scrolling="no" frameborder="0" id="I1" height="500px"></iframe>
  </td>
  <td class="right">
  <iframe name="frmRight" src="Default.aspx" title="内容区" width="100%" align="top" scrolling="no" height="500px" frameborder="0" id="frmLeft"></iframe>
  </td>
  </tr>
  </table>
</body>
</html>
左页面
<!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>
  <title></title>
  <style type="text/css">
  table
  {
border-style: dashed;
  border-width: 0px;
  padding: 0px;
  margin: 0px;
  width:100%;
height:100%;
  }
   
  .header
  {
  width:100%;
  height:10%;
  }
.left
{
width:20%;
height:80%;
}
.right
{
width:70%;
height:80%;
}


  </style>
</head>
<body>
  <table cellpadding="0" cellspacing="0" border="0">
  <tr>
  <td colspan="2" class="header">
  <iframe name="frmHeader" 
  src="header.aspx"