我用框架形式设计了一个简单的index.aspx主页,奇怪的是分开浏览框架中的各个子页面时是正常的,而当我浏览index.aspx时,子页面上的所包含的文本框,按钮..就统统失效了,整个页面象是静态的一样,不知道是什么原因,请高手给予执教,谢谢!
程序如下:
index.aspx<%@ Page Language="VB" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<TITLE>网上售书系统</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="feng.css" type=text/css rel=stylesheet>
</head>
<frameset rows="102,81%">
<frame name="top" src="Security/Login.aspx" scrolling="no" noresize>
<frameset cols="150,*">
<frame name="left" src="Security/DefaultUser.aspx">
<frame name="main" src="Security/SelfInfo.aspx">
</frameset>
          </frameset>
</html>loginaspx:<%@ Page Language="VB" ContentType="text/html"AutoEventWireup="false" Src="Login.aspx.vb" Inherits="Login"%><head>
<link href="../Styles.css" type=text/css rel=stylesheet>
<title>Login</title>
</head><body MS_POSITIONING="GridLayout">
<form id="Form1"  runat="server">
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
<tr>
<td width="400"><img border="0" src="../pic/xs_head.gif" width="400" height="50"></img></td>
<td width="250"><img border="0" src="../pic/xs_head1.gif" align="right" width="250" height="50"></img></td>
</tr>

<tr>
  <td colspan="2" align="right">
  <TABLE id="Table1" width="100%" border="0" >
<TR>
<TD><FONT face="宋体">用户名</FONT></TD>
<TD style="WIDTH: 7px"><font face="宋体" >
  <asp:TextBox ID="txtUserName" runat="server" Width="100px" Height="20px"></asp:TextBox>
</font></TD>
<TD><FONT face="宋体">密码</FONT></TD>
<TD style="WIDTH: 7px"><FONT face="宋体">
<asp:TextBox id="txtPass" runat="server" TextMode="Password" Height="20px" Width="100px"></asp:TextBox></FONT></TD>
<TD><FONT face="宋体">
<asp:LinkButton id="LoginBtn" runat="server" OnClick="LoginBtn_Click">用户登录</asp:LinkButton></FONT></TD>
<TD>
<asp:LinkButton id="RegisterBtn" runat="server" OnClick="RegisterBtn_Click">注册新用户</asp:LinkButton></TD>
<TD>
<asp:LinkButton id="LoginOutBtn" runat="server" OnClick="LoginOutBtn_Click">注销</asp:LinkButton></TD>
</TR>
</TABLE>
  
  
       </td>
</tr>
 </table>
   </form>
</body>
</html>