Welcome Guest Search | Active Topics | Sign In | Register

Multiple File upload Options
pfitzpatrick
Posted: Wednesday, July 23, 2008 6:44:55 AM
Rank: Newbie
Groups: Member

Joined: 7/7/2008
Posts: 2
I have 5 upload controls and on the callback, only the file name is available. Of course I need the complete path to the file. Basically trying to have 5 browse controls and have the user just hit upload once to initiate upload for all files. Any ideas?
Thanks

Code: HTML/ASPX
<p>File Upload</p>
                <p>File 1: <asp:FileUpload ID="fUpload1" runat="server" /></p>
                <p>File 2: <asp:FileUpload ID="fUpload2" runat="server" /></p>
                <p>File 3: <asp:FileUpload ID="fUpload3" runat="server" /></p>
                <p>File 4: <asp:FileUpload ID="fUpload4" runat="server" /></p>
                <p>File 5: <asp:FileUpload ID="fUpload5" runat="server" /></p>

                

            </div>
            <p>
                Progress Indicator
                <eo:ProgressBar ID="ProgressBar" Width="500px" OnRunTask="ProgressBar_RunTask" ShowPercentage="True" runat="server" ControlSkinID="Windows_XP" StartTaskButton="btnAdd"></eo:ProgressBar>
            </p>

            <asp:Button ID="btnAdd" runat="server" OnClick="btnAddClicked" Text="Add" />
eo_support
Posted: Wednesday, July 23, 2008 6:54:33 AM
Rank: Administration
Groups: Administration

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

I don't think you can use a regular file upload inside a Callback. You can try to use our AJAXUploader and set its Rows property to 5.

Thanks
pfitzpatrick
Posted: Wednesday, July 23, 2008 9:34:41 AM
Rank: Newbie
Groups: Member

Joined: 7/7/2008
Posts: 2
seems its a Microsoft 'feature'. Complete path is only avail in IE.
eo_support
Posted: Wednesday, July 23, 2008 10:07:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
pfitzpatrick wrote:
seems its a Microsoft 'feature'. Complete path is only avail in IE.


That is correct. Sorry that we overlooked this part of your question. Only the file upload inside callback caught our eyes. We sincerely apologize for that.

Other browsers consider providing full file path reveals client side information to the server without user's consent. Thus they explicitly strips off the path information before files are submitted. The same applies to our AJAXUploader as well.


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.