Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
navigatetostringsync problem
#2
Hi CYZ,

Just ran your code like below by putting it into the VFP Standard example under the "Render Page" button and it works as expected.

Code:
LOCAL lcHtml
lcHtml = ''
TEXT TO lcHtml NOSHOW PRETEXT 7
<!DOCTYPE html><html><head><meta charset="utf-8"></head><body>Hola Mundo</body></html>
ENDTEXT
LOCAL Success
LOCAL Status
Success = .F.
isStatus = 0

thisform.oantView.object.NavigateToStringSync(lcHtml,@Success,@isStatus)

thisform.text1.value = "Rendered-html"

So it looks like that we are missing out on some context.
Can you show more code than "just the line".

From where are you calling the NavigateToStringSync method?

PS: I noticed that you tried to post, most likely VFP code (or perhaps that html above), which was rejected by the forum's web application firewall. This hopefully works now as the WAF has been tweaked a bit. Sadly we can't run the forum without a WAF anymore.
Reply


Messages In This Thread
RE: navigatetostringsync problem - by wila - 2026-03-16, 12:06:23
RE: navigatetostringsync problem - by wila - 2026-03-16, 22:28:25
RE: navigatetostringsync problem - by wila - 2026-03-17, 10:30:02
RE: navigatetostringsync problem - by wila - 2026-03-17, 12:02:03
RE: navigatetostringsync problem - by wila - 2026-03-19, 08:55:23

Forum Jump:


Users browsing this thread: 1 Guest(s)