I have implemented a RadProgressArea for a RadFileUpload control. Works great locally but when rolled to my production server (IIS 7.5) what happens is this:
1. Select a file
2. Click Upload
3. I select a large file so it takes a while
4. I see the time remaining ticking down, 8, 6, 4, 2, 0 and THEN AFTER the time remaining has went to 0 then the progress bar starts moving to the right, 20%, 44%, 100%.
So I put event log entries in the code to try and see what's up. I tried every forum suggestion on web.config changes, handler changes and none of that works. However I have found the issue. I update the progress bar in my server side code. I have a method that uploads my file in chunks to the destination folder and as it is doing that I update the RadProgressContext. Here's the problem though. When I click my Upload button it takes EXACTLY the length of time to upload the file before that server side button click method is executed. So in step 4 above as that time is ticking down the RadProgressHandler is being called client side and then once it is completed my button method is executed and my progress bar starts updating and the file is ACTUALLY being uploaded then.
Can someone explain to me what the crap is going on? Why is it when I click my Upload button (it's just an asp.net button) it acts as if the file is being uploaded and then once complete with time remaining of 0 the actual button click method is executed?
1. Select a file
2. Click Upload
3. I select a large file so it takes a while
4. I see the time remaining ticking down, 8, 6, 4, 2, 0 and THEN AFTER the time remaining has went to 0 then the progress bar starts moving to the right, 20%, 44%, 100%.
So I put event log entries in the code to try and see what's up. I tried every forum suggestion on web.config changes, handler changes and none of that works. However I have found the issue. I update the progress bar in my server side code. I have a method that uploads my file in chunks to the destination folder and as it is doing that I update the RadProgressContext. Here's the problem though. When I click my Upload button it takes EXACTLY the length of time to upload the file before that server side button click method is executed. So in step 4 above as that time is ticking down the RadProgressHandler is being called client side and then once it is completed my button method is executed and my progress bar starts updating and the file is ACTUALLY being uploaded then.
Can someone explain to me what the crap is going on? Why is it when I click my Upload button (it's just an asp.net button) it acts as if the file is being uploaded and then once complete with time remaining of 0 the actual button click method is executed?