Welcome Guest Search | Active Topics | Sign In | Register

Postback runs before task is complete while using progress bar Options
Skillz
Posted: Thursday, August 25, 2016 1:43:44 PM
Rank: Newbie
Groups: Member

Joined: 8/25/2016
Posts: 2
Hi Support team :-)

I have a slight issue where the postback finishing before the actual server task is complete. Currently I am not able to make any changes to the page once the task is complete. The task is building a DataTable and then converting it to XML and storing to a file in the location of the application on the server. I tried setting the URL of the file to links that are placed on the page. I have also tried to transmit the file but I am receiving a "headers are already sent" error which signifies that the postback completes before the server task is completed.

I am using AJAX with update panels and progress panels associated with the update panels.

I am updating the progress bar from server side while the task is running.

Please let me know how I can update controls on the page once the task is complete.

Any help would be greatly appreciated!
Thanks!
Skillz
Posted: Thursday, August 25, 2016 3:37:13 PM
Rank: Newbie
Groups: Member

Joined: 8/25/2016
Posts: 2
Hi Guys!

It turns out I had to just do some extra reading in this link to get to fix the issue I was having. Thank you for good documentation. Here goes the link:
http://demo.essentialobjects.com/Demos/Progress%20Bar/Server%20Side%20Task%20-%20Advanced%201/Demo.aspx

I apologize for my brain fart moment lol.

Thanks again


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.