NetTalk Central

Author Topic: Browse freezes when clicking "Next"  (Read 3494 times)

Poul Jensen

  • Full Member
  • ***
  • Posts: 189
    • View Profile
    • Email
Browse freezes when clicking "Next"
« on: March 17, 2019, 12:07:38 PM »
Hi,

On one browse in a NT 11 app the browse freezes (turns grey) when I click the "Next" or any other navigations button.
I also notice, that I cannot click any of the headers to sort on another column.
What could be wrong here ?

Cheers
/Poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Browse freezes when clicking "Next"
« Reply #1 on: March 18, 2019, 12:16:29 AM »
my guess is you've ticked on "allow xHTML" for some columns, and those columns contain text which is not valid XML - or uses reserved XML characters etc.

cheers
Bruce

Poul Jensen

  • Full Member
  • ***
  • Posts: 189
    • View Profile
    • Email
Re: Browse freezes when clicking "Next"
« Reply #2 on: March 18, 2019, 02:15:03 AM »
Thanks Bruce.

That wasn't the case but i had this code in (old code from NT8), when I removed it the browse seems to work OK.

! Start of "Browse Header"
    ! [Priority 4000]             
       packet.SetValue( ' Priser for: ' & clip(p_web.Translate(p_web.gsv('Kundenummer'))) & ' - ' & clip(p_web.Translate(p_web.gsv('Kundenavn'))) & p_web.CRLF )
       do SendPacket   

What could be wrong here ?

Cheers
/Poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Browse freezes when clicking "Next"
« Reply #3 on: March 21, 2019, 06:55:04 AM »
>> What could be wrong here ?

Those session values contained something that was not xHTML.

cheers
Bruce

Poul Jensen

  • Full Member
  • ***
  • Posts: 189
    • View Profile
    • Email
Re: Browse freezes when clicking "Next"
« Reply #4 on: March 21, 2019, 12:07:20 PM »
Thanks, but they are straight text.

I put it back, and now the browse is ok.   :-(

That is good, but I don't know why.....

/Poul