NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on March 17, 2019, 12:07:38 PM

Title: Browse freezes when clicking "Next"
Post by: Poul Jensen 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
Title: Re: Browse freezes when clicking "Next"
Post by: Bruce 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
Title: Re: Browse freezes when clicking "Next"
Post by: Poul Jensen 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
Title: Re: Browse freezes when clicking "Next"
Post by: Bruce on March 21, 2019, 06:55:04 AM
>> What could be wrong here ?

Those session values contained something that was not xHTML.

cheers
Bruce
Title: Re: Browse freezes when clicking "Next"
Post by: Poul Jensen 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