NetTalk Central

Author Topic: Browse refresh trhought buttons  (Read 3131 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Browse refresh trhought buttons
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Browse refresh trhought buttons
« Reply #1 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

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse refresh trhought buttons
« Reply #2 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Browse refresh trhought buttons
« Reply #3 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

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse refresh trhought buttons
« Reply #4 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
-----------
Regards
Alberto