Re: Update page from client JaveScript
Christopher <[email protected]> Mon, 25 Feb 2008 10:26:10 -0600
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
document.forms[0].submit() -- -Christopher | AspInsider http://bluefenix.net On Feb 25, 2008, at 5:31 AM, Paul ten Brink =20 <[email protected]> wrote: > Hi, > > Asynchronous callbacks are great for responsiveness. But sometimes =20 > in such > a callback I find that the entire Page has to be refreshed, just =20 > like in a > normal postback. > > Normally I would use Response.Redirect() or Server.Transfer() but =20 > both are > not allowed in an asynchronous callback... > > So I'm stuck with updating the Page from client JavaScript, but the =20= > only > way I know how to do this (window.location.reload) results in a =20 > 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] > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This list is hosted by DevelopMentor=C2=AE http://www.develop.com > > View archives and manage your subscription(s) at = http://discuss.develop.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com