Category Archives: LightSwitch

LightSwitch Using Tooltips in Controls and DataGrids

You want a tooltip in a grid when you hover over the grid (you can use this with other controls too): ToolTipService.SetToolTip(grid, new TextBlock() { Text = “Hello World!!!” }); For other controls just replace “grid” for another control’s name. … Continue reading

Posted in LightSwitch | Tagged , , | 1 Comment

LightSwitch Look Up Lists

You have two entities Model and Model Parts, one model can have many model parts. You want to create a screen where you select one model and a list that shows only model parts for that specific model. You also … Continue reading

Posted in LightSwitch | Tagged , | Leave a comment

LightSwitch Only Numbers in TextBoxes

How to allow only numeric keystrokes (numbers 0-9) in a TextBox? Answer: Use the KeyDown event and e.Handled property. Example: Imagine you have a NewClient screen and only want numbers to be entered in a property called “Code”. In NewClient.cs The code validates … Continue reading

Posted in LightSwitch | Tagged , , , , , , , , | 3 Comments

Office Integration Pack Sample.

Office Integration Pack is a popular and free LightSwitch extension created by Steve Hansen from Grid Logic. Now in Version 1.1. It’s very useful to Import and Export data with Microsoft Office. It can be used as a reporting tool … Continue reading

Posted in LightSwitch | Tagged , , , | Leave a comment

Syncfusion Metro Studio 2

Excellent free custom icon tool from Syncfusion. A value of $499!!! You can download at http://www.syncfusion.com/downloads/metrostudio It downloads an EXE file called syncfusionmetrostudiosetup.exe Run the EXE. You will need the unlock key, it will be emailed to you by websupport@syncfusion.comContinue reading

Posted in LightSwitch, Visual Studio 2012 | Tagged , , , , | Leave a comment

LightSwitch Publishing to Windows Azure

Prerequisites. You will need a Windows Azure Account, if you don’t have one you can take advantage of the 1 month free trial. It is 1 month or US$200.00 credit, when your credit gets to zero the account will be closed or when you … Continue reading

Posted in Azure, LightSwitch | Tagged , , , , | Leave a comment

LightSwitch Intrinsic Database Location

When using LocalDB the database is located in: yourprojectname\yourprojectname\bin\data\ApplicationDatabase.mdf

Posted in LightSwitch | Tagged , , , | Leave a comment