似乎无法弄清楚为什么控件无法正常显示。点击按钮也没有任何作用。
这是设计师的样子
以下是浏览器中的内容
<body>
<style type="text/css">
#header
{
width: 547px;
margin: 0 auto;
text-align: center;
height: 221px;
}
</style>
<form id="form1" runat="server">
<asp:scriptmanager runat="server" id="scriptmanager"></asp:scriptmanager>
<div>
<div id="header">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Logo.jpg"/>
<br />
<asp:Label ID="Label1" runat="server" Font-Size="XX-Large" Text="Master Import" ></asp:Label>
<br /><br />
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server"
onuploadcomplete="AjaxFileUpload1_UploadComplete" MaximumNumberOfFiles="1" AllowedFileTypes="xlsm"/>
</div>
</div>
</form>
</body>
的web.config
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="AjaxFileUploadHandler" verb="*"
path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler,
AjaxControlToolkit"/>
</handlers>
</system.webServer>