OWC10 Forward Button

S

sstevens

I have a search screen that loads an OWC spreadsheet (clientside). I have
noticed that when the user hits the back button to return to the search
screen, then hits the forward button to return to the report, the data gets
loaded twice (I know this because I get the accessing data on another domain
message twice). It there a work around for this? I am populating the sheet
in window_onload. Thanks in advance!
 
A

Alvin Bruney [MVP]

even try the page reloads it will fire the load function, you need to have a
flag somewhere to indicate when the data needs to be reloaded
 
S

sstevens

How would you reccomend doing this? Maybe a cookie or session variable to
see if they have been there?

Alvin Bruney said:
even try the page reloads it will fire the load function, you need to have a
flag somewhere to indicate when the data needs to be reloaded

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
sstevens said:
I have a search screen that loads an OWC spreadsheet (clientside). I have
noticed that when the user hits the back button to return to the search
screen, then hits the forward button to return to the report, the data
gets
loaded twice (I know this because I get the accessing data on another
domain
message twice). It there a work around for this? I am populating the
sheet
in window_onload. Thanks in advance!
 
A

Alvin Bruney [MVP]

Yes, a cookie would do great. But i'd suggest thinking about a redesign to
allow the data to be loaded via a button click instead of automatically thru
the onload function. You may want to consider that as well.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
sstevens said:
How would you reccomend doing this? Maybe a cookie or session variable to
see if they have been there?

Alvin Bruney said:
even try the page reloads it will fire the load function, you need to
have a
flag somewhere to indicate when the data needs to be reloaded

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
sstevens said:
I have a search screen that loads an OWC spreadsheet (clientside). I
have
noticed that when the user hits the back button to return to the search
screen, then hits the forward button to return to the report, the data
gets
loaded twice (I know this because I get the accessing data on another
domain
message twice). It there a work around for this? I am populating the
sheet
in window_onload. Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top