Viewing entries tagged with 'htmlclient'

Popups in the LightSwitch HTML client is really a nice way to create a popup inside a screen when that Popup will only ever be used inside that screen. In other words, there is no need to create a whole separate Screen and show it as a Dialog since that Popup is only used in one screen.

The current Microsoft LightSwitch HTML client (or CBA app) includes top level tabs for each screen, but sometimes you need lower level tab controls to use inside those top level tabs. LightSwitch is an amazing tool and with a bit of javascript and CSS you can achieve almost anything. In this blog post I will show you how to add a simple javascript library file with a little bit of CSS which will then allow you to create tab controls like the following with one single line of javascript code in a _postRender() event (source code available for download at the bottom of this article):

Sometimes you need to hide the default LightSwitch HTML client generated header. You may wish to hide the entire header including the screen tabs or just the title part above the screen tabs. The following JavaScript function will do this for you if called from the screen_actived() event: