PDA

View Full Version : How to refresh browser window on click of the button



sathishb
21 Dec 2010, 10:05 AM
Hi,

I am trying to refresh the browser window on click of a button. Is there a way that we can do it in GXT?

I appreciate your help!

Regards,
Sathish.

sven
21 Dec 2010, 10:08 AM
You can do this with the Location class of GWT.

sathishb
21 Dec 2010, 10:58 AM
Sven - I was able to do this using GWT - Window.Location.reload(). You are awesome. Thanks.

salon software stephen
17 Feb 2011, 1:38 PM
Works for me if you change to lowercase:

window.location.reload()

Didn't work as:

Window.Location.reload()

micgala
18 Feb 2011, 12:51 AM
Works for me if you change to lowercase:

window.location.reload()

Didn't work as:

Window.Location.reload()

Yeah.. probably, if you are using javascript...
But, this is a Gxt forum,not extjs.

Regards,
Michel.

salon software stephen
18 Feb 2011, 10:16 AM
oops sorry - didn't notice this was gwt not ext. My apologies