Update page from client JaveScript

Paul ten Brink <[email protected]> Mon, 25 Feb 2008 12:31:43 +0100
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <OF4DC8AA18.6319C1C7-ONC12573FA.003E43DF-C12573FA.003F5450@philips.com>
Hi,

Asynchronous callbacks are great for responsiveness. But sometimes in such
a callback I find that the entire Page has to be refreshed, just like in a
normal postback.

Normally I would use Response.Redirect() or Server.Transfer() but both are
not allowed in an asynchronous callback...

So I'm stuck with updating the Page from client JavaScript, but the only
way I know how to do this (window.location.reload) results in a dialog box
"Are you sure you want..." and the Page does not really update.

Is there another way to issue a normal postback of a Page in client
JavaScript?

Thanks for your time and help.
Paul ten Brink
[email protected]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com