NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on May 20, 2009, 09:44:17 AM

Title: Browse refresh trhought buttons
Post by: Alberto on May 20, 2009, 09:44:17 AM
Hi,

I have a browse simulating a week squedule.
I've added some buttons to move one week up and down and one month up and down.
I the button server code I change the ini date and resets the browse.

I´m having erratic problems with the refresh.
Is it that the way to do it?

Thanks
Alberto
Title: Re: Browse refresh trhought buttons
Post by: Bruce on May 20, 2009, 11:05:01 PM
sounds like a good way - but I'm not sure what you mean by "erratic problems".

Cheers
Bruce
Title: Re: Browse refresh trhought buttons
Post by: Alberto on May 21, 2009, 01:55:17 AM
"erratic problems":
I press the Net Month button and the browse refreshes ok.
Then I press the Last Week button and the browse does not refreshes.
Some times it refreshes and some times not wothout a logic.
I've put code to trace the browse generation and it is always generated.
In the cases it does not refresh, if you refresh the page it works.
Its using a In-Memory file.

Any Idea of what else to check?
Thanks
Alberto
Title: Re: Browse refresh trhought buttons
Post by: Bruce on May 21, 2009, 08:08:42 AM
Sounds like your browser may be caching stuff -
Use FireFox to look at what's coming back to the browser.
Obviously if what is coming back is not xHtml compliant then nothing will appear.

cheers
Bruce
Title: Re: Browse refresh trhought buttons
Post by: Alberto on May 21, 2009, 10:52:25 AM
Thanks Bruce,

It was the xhtml thing.
I was using <br> instead of <br/>

My soul had returned to my body!

Alberto