<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>无标题页</title>
<script type="text/javascript" language="javascript">
function UploadOnpropertychange() {
var varUploadFile = document.getElementById("FileUpload1").value;
document.getElementById("txtUploadFile").value = varUploadFile;
}
</script>
</head>
<body>
<form id="form1" runat="server" >
<div style="position:relative;">
<asp:TextBox ID="txtUploadFile" runat="server" Width="160px" ></asp:TextBox>
<input type="button" value="测试" style="width:100px;"/>
<asp:FileUpload ID="FileUpload1" style="position:absolute; width:100px; left:160px; top:0; z-index:99;opacity:0;filter: alpha(opacity=0);" onchange="UploadOnpropertychange()" runat="server" CssClass="cssfile" />
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" style="height: 21px" />
</div>
</form>
</body>
</html>