MOGSY Posted December 15, 2020 Share Posted December 15, 2020 Hi try to use UniURLFrame on UniPageControl, The content will display first, however changing page will cause the content of the UniURLFrame to disappear. I have included a test project. Would appreciate any clues why and how to fix it please. Regards Main.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2020 Share Posted December 15, 2020 1 hour ago, MOGSY said: Would appreciate any clues why and how to fix it please. Hi, We will check this issue. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 15, 2020 Share Posted December 15, 2020 1 hour ago, MOGSY said: Would appreciate any clues why and how to fix it please. Try to use UniHTMLFrame instead of UniURLFrame for now. Quote Link to comment Share on other sites More sharing options...
MOGSY Posted December 15, 2020 Author Share Posted December 15, 2020 Hi Sherzod Thank you very much for your email. The problem is UniHTMLFrame is the same code for some reason is not working. Attached project has the same code in UniHTMLFrame, typing anything in the search box produces nothing. but the map remain on screen which is good. Regards ServerModule.zip Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 15, 2020 Administrators Share Posted December 15, 2020 Can you try setting the DefferedRender option? Quote Link to comment Share on other sites More sharing options...
MOGSY Posted December 15, 2020 Author Share Posted December 15, 2020 Hi Farshad Thank you for your help. I have two more issues with this. 1- I woud like to change the parent of the UniURLFrame from one page to other, so the same map displayed with different other information. Changing the parent makes the map disapear. 2- I also get the following error ext-all.js:20 Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8077/HandleEvent': Synchronous XHR in page dismissal. See https://www.chromestatus.com/feature/4664843055398912 for more details. at ctor.start (http://localhost:8077/ext-7.0.0/build/ext-all.js:20:194210) at ctor.request (http://localhost:8077/ext-7.0.0/build/ext-all.js:20:203291) at ctor.request (http://localhost:8077/uni-1.90.0.1539/ext-sync-min.js:9:11497) at _ajaxRequest_ (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:4844) at ajaxRequest (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:3966) at _cunld_ (http://localhost:8077/uni-1.90.0.1539/ext-unicommon-min.js:9:11087) at http://localhost:8077/:41:46 regards Quote Link to comment Share on other sites More sharing options...
MOGSY Posted December 16, 2020 Author Share Posted December 16, 2020 Hi Farshad / Sherzod To call function on UniHTMLFrame is it different to UniURLFrame?. I was using the following for UniURLFrame but is not working on UniHTMLFrame. UniHTMLFrame1.JSInterface.JSCode(#1'.iframe.contentWindow.showLocationOnMap'+ format('("type,description,job,orange,true", "%S,%S");',[pLatitude, pLongitude]));} Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.