Hi Efran,
Thanks for the tip on the timer control. I have the progress working properly using the timer component.
Mark Potter
________________________________
From: Discussion of building .NET applications targeted for the Web on behalf of Efran Cobisi
Sent: Wed 7/11/2007 4:04 AM
To: DOTNET-***@DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] Updating UpdatePanel using update method programmatically
Hi Mark,
Afaik this shouldn't be possible. You should instead keep polling the
server until the operation completes; this one could be achieved using,
for example, a Timer control [1] (actually a component, by the way)
which would fire an asynchronous postback on the UpdatePanel every n
seconds, thus updating the panel content as needed. The last
asynchronous postback should then disable the aforementioned Timer
control. Note that you should include the Timer's Tick event in an
AsyncPostBackTrigger inside the Triggers collection of the UpdatePanel.
[1] http://ajax.asp.net/docs/overview/UsingTimerControlTutorial.aspx
Hope this helps.
--
Efran Cobisi
http://www.cobisi.com
Potter, Mark S. wrote:
> Is it possible to update the progress of a process multiple times during
> a postback using the Update method?
>
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com