Re: Updating UpdatePanel using update method programmatically

Efran Cobisi <[email protected]> Wed, 11 Jul 2007 10:04:48 +0200
Newsgroups gmane.comp.windows.devel.dotnet.web
Organization cobisi.com
Message-ID <[email protected]>
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