javaScript showing error

0
0

Hi Wisej,

When i call javaScript showing error.

Can you help me test it?

Thank you.

  • You must to post comments
0
0

Hi Luca ITG,

I try Application.RequestFullScreen() and Application.CancelFullScreen(). But it is not active.

You can check my app.

Thank you.

  • You must to post comments
0
0

There isn’t a fullScreenApi in any browser. This is the spec https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API

You can also use the wrapper api implemented in Wisej in JavaScript

function FullScreen() {
 var isFullScreen = Wisej.Platform.isFullScreen();
 if (!isFullScreen) {
  Wisej.Platform.requestFullscreen();
 }
 else {
  Wisej.Platform.cancelFullscreen();
 }
}

Or directly from VB.NET

 

If Application.Browser.IsFullScreen = False Then
   Application.RequestFullScreen()
 Else
   Application.CancelFullScreen()
End If
  • Huỳnh Tấn Phát
    Hi Luca ITG, I try Application.RequestFullScreen() and Application.CancelFullScreen(). But it is not active. You can check “https://wisej.com/support/answers/8758/file/1789/WisejWebApplication8.zip”. Thank you.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.