Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader - Progress bar width Options
cn
Posted: Monday, September 1, 2008 5:16:14 PM
Rank: Advanced Member
Groups: Member

Joined: 8/31/2008
Posts: 33
Hi,

I'm using the AJAXUploader with AutoPostback = true. When a file is selected the control instantly increases in width by 50% when the progress bar starts updating. I've tried altering the width of the table but it doesn't seem to help.

Thanks,
Chris

Quote:

<eo:AJAXUploader runat="server" id="AJAXUploader1" Width="400px"
TempFileLocation="~/eo_upload" MaxDataSize="20000" AutoUpload="True" onfileuploaded="Page_Load" AutoPostBack="true" UploadButtonText="Upload & Continue">
<LayoutTemplate>
<table border="0" cellpadding="2" cellspacing="0" width="400px">
<tr>
<td>
<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>
eo_support
Posted: Monday, September 1, 2008 5:32:26 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

We tested this in a blank page and it works fine. So you may wish to gradually comment out other contents in your page block by block and see if you can find the offending part.

Another aproach is to give the ProgressBar a fixed width value. That should restrict the width of the ProgressBar as well.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.