[SOLVED] NavigationBar Sample Issue


I was looking at the Navigationbar sample and when I am in chrome and switch modes in developer view the screen size of the browser doesn’t change to the smaller size.

if (Application.Browser.ScreenSize.Width < 700)
this.panel1.CompactView = true;
this.panel1.CompactView = false;

Any ideas on what to do on this?

Thanks -Tim

  • You must to post comments
Best Answer

The Application.Browser.ScreenSize is the device screen size while the Application.Browser.Size is the size of the browser. If you switch device in emulation mode you need to hit refresh since there is no event in the browser when the device emulation changes.

With Wisej 2 you can also set the value true|false using the responsive profile selector in the designer.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.