Hi,
I have an issue with AjaxUploader control. The uploader forgets selected file if I execute a partial postback through UpdatePanel.
Code sample:
Code: HTML/ASPX
<div>
<eo:AJAXUploader runat="server" ID="AJAXUploaderAudio" AutoPostBack="false" TempFileLocation="~/UploadTemp" >
<LayoutTemplate>......</LayoutTemplate>
</eo:AJAXUploader>
</div>
<div>
<label>[This area is designated for partial update]</label>
<asp:UpdatePanel runat="server" ID="up1" EnableViewState="false">
<ContentTemplate>
<asp:Label runat="server" ID="lblInfoText" Text="Update Me!" /><br />
<asp:Button runat="server" ID="btnPartialUpdate" Text="Postback Update" OnClick="btnPartialUpdate_Click" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
The user has to fill/select certain metadata on the form and he also needs to select a file (which I don't want to upload straight away). But if I execute a partial postback the file selection is gone.
I've tried to insert another invisible control on the page (outside UpdatePanel), but that didn't help.
Code: HTML/ASPX
<eo:AJAXUploader runat="server" ID="dummyUploader" TempFileLocation="~/UploadTemp" style="display:none" />
Any ideas how to solve this problem? Can I read file selection on client-side?
Thank you.