How to disable Save button in LightSwitch screen based on role

There could be time, that your customer, or user can have quite logical requirement : Please, disable Save button on whole screen according to role. You as dev will say OK, why not. Then you will come to Lightswitch IDE , right click Save button…

How to create resizable columns and rows in LightSwitch UI

With smaller screen resolution (or with requirement for bigger grids) comes possibility to create slide-able columns or rows in UI very handy. And in LightSwitch it’s possible with few clicks on checkboxes. 🙂 I will show you how in this small example. I will demonstrate…

Adding custom entity validation to LightSwitch

Adding custom validation is quite easy task, but currently Microsoft has problem with not updated MSDN article http://msdn.microsoft.com/en-us/library/ff852045.aspx. I just would like to tell you that code snippet on this MSDN page is not working. This is correct snippet (this code is placed in SomeEntity_Validate…