Welcome Guest Search | Active Topics | Sign In | Register

Progress Bar Run Task doesn't get the control values Options
Mercedes
Posted: Monday, November 3, 2008 1:04:02 PM
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
eo_support
Posted: Monday, November 3, 2008 1:59:13 PM
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



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.