Hello,
I'm using the AJAX Uploader in a web form and when you upload a file the input box widens to fit the length of the file path. I've tested it on a blank page and see the same behavior. I've tried setting the width of the control and setting the width of the <td> surrounding the input placeholder.
- Chris
Quote:
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
<eo:AJAXUploader runat="server" id="AJAXUploader1" Width="400px"
TempFileLocation="~/eo_upload" MaxDataSize="70000" AutoUpload="True" onfileuploaded="Page_Load" AutoPostBack="true" UploadButtonText="Upload & Continue">
<LayoutTemplate>
<table border="0" cellpadding="2" cellspacing="0" width="400px">
<tr>
<td style="width: 400px">
<asp:PlaceHolder runat="server" id="InputPlaceHolder">Input Box Place Holder
</asp:PlaceHolder>
</td>
</tr>
<%--<tr>
<td align="right">
<asp:Button runat="server" ID="UploadButton" Text="Upload & Continue" />
</td>
</tr>--%>
<tr>
<td>
<eo:ProgressBar runat="server" id="ProgressBar" ControlSkinID="Windows_XP" />
</td>
</tr>
<tr>
<td>
<asp:PlaceHolder runat="server" id="ProgressTextPlaceHolder">Progress Text Place Holder
</asp:PlaceHolder>
</td>
</tr>
<tr>
<td align="right">
<asp:Button runat="server" ID="CancelButton" Text="Cancel Upload" />
</td>
</table>
</LayoutTemplate>
</eo:AJAXUploader>
</asp:Content>