Viewing entries tagged with 'htmlclient'

Making LightSwitch HTML client Popups modal and centered and more

Posted by Xander van der Merwe on 9 April 2015 | 69 Comments

Tags: , ,

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.

69 comments | Read the full post

A TabControl with one line of code in the LightSwitch HTML Client

Posted by Xander van der Merwe on 31 July 2014 | 0 Comments

Tags:

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):

0 comments | Read the full post

A LightSwitch HTML client header for a desktop browser LOB application look and feel

Posted by Xander van der Merwe on 31 July 2013 | 3 Comments

Tags: ,

The power of Visual Studio LightSwitch never ceases to amaze me. Just when you think you've hit a roadblock, a solution seems to pop up after closer investigation. As I say to everyone, "LightSwitch is always the right technology" © :)

3 comments | Read the full post

Hiding the default header in the LightSwitch HTML Client

Posted by Xander van der Merwe on 31 July 2013 | 0 Comments

Tags: ,

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:

0 comments | Read the full post