Rank: Member Groups: Member
Joined: 8/23/2007 Posts: 12
|
Hi,
I have a page that collect two files with the AJAX Uploader and a DatePicker to select the date of the information contained in the files.
I am using a ProgressBar associated to a LinkButton to start the processing of both files.
Although the files are uploaded and the date is selected, in the Run Task method the Selected Date is Nothing and the number of PostedFiles is 0.
I assume that it is because no postback is fired, but how to do it?
Thanks in advance...Antonio
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You are absolutely correct. :) There is no postback in this case. The easiest way to get around this problem is to post back the page first, then start the ProgressBar by rendering a piece of JavaScript like this:
<script type="text/javascript">eo_GetObject("ProgressBar1").startTask();</script>
You can use a Label control to render such JavaScript.
Thanks
|