Questions tagged [visual-studio-lightswitch]

Microsoft Visual Studio LightSwitch is a rapid application development tool for creating data centric Silverlight or HTML5 applications.

LightSwitch is a rapid application development tool for creating data centric Silverlight or HTML5 applications. Silverlight client can be extended using custom controls and RIA Services data sources. LightSwitch applications focus solely on data entry and provide no built-in support for reporting, although 3rd party reporting extensions are available. Applications created with LightSwitch can be deloyed as Windows desktop applications (using the WCF service host to create local RIA services), in a 3 tiered LAN configuration, as web applications hosted on IIS 7, or using the Microsoft Azure platform.

Visual Studio LightSwitch version 1.0 was released on July 26, 2011. It appears in two configurations: a simplified version of Visual Studio that can only build LightSwitch applications, and as a project type within Visual Studio Professional or better. A trial copy can be downloaded from the Microsoft website here.

Other useful resources include:

1073 questions
0
votes
1 answer

Lightswitch global query breaking app

I'm trying out Lightswitch for the first time, and I'm finding some of the 'built-in' features aren't as easy to implement as the videos show. The most notable being global queries, because everyone I create is causing a specific error that I cannot…
Precious Roy
  • 1,086
  • 1
  • 9
  • 19
0
votes
1 answer

Add filtered query results to a screen in Lightswitch

I have a greenfield Lightswitch 2012 RC application with three tables: problems, products, and versions. When entering a problem, users need to first select from a list of all known products (working) and then select from a list of versions for…
PatrickV
  • 2,057
  • 23
  • 30
0
votes
1 answer

How Can I Configure an Oracle Data Source in Lightswitch to Map Tables Owned by Another User?

We are using a SaaS provider at my company, who also offers direct read-only access to their back end Oracle database. Our Oracle user does not own any of the tables, therefore the tables we want to read belong to other users. So the tables must be…
qxotk
  • 2,384
  • 5
  • 24
  • 39
0
votes
1 answer

Push TwoWay binding change to bound item from PropertyChanged callback

I have a LightSwitch screen which consists of a List containing a CustomControl. This CustomControl has a set of dependency properties which are bound to the properties on the entity through TwoWay bindings. On one of the dependency properties on…
0
votes
1 answer

Displaying an image from a databound path

I'm trying to display a unique image in each row of a datagrid in a LightSwitch application. The path to the image to display is found in a column of the datagrid's source. The intent is to create a "product browser" that shows images of each…
Jim
  • 23
  • 4
0
votes
1 answer

How to access all controls on lightswitch page

I have to perform a common validation task on each control on a lightswitch page such that when a user interacts with the control then a another control on the page is cleared. I have no idea how to iterate the controls on the page without calling …
Exitos
  • 29,230
  • 38
  • 123
  • 178
0
votes
2 answers

Cannot run LightSwitch after getting out of TFS

I am trying to move a LightSwitch 2012 solution using FormsAuthentication between machines, so I added the solution to TFS (using my TFSPreview account) on one machine and checked everything in. On the new machine I did a fetch, opened the solution…
Duncan Watts
  • 1,331
  • 9
  • 26
0
votes
1 answer

unwanted tables created in Lightswitch

I am creating a simple Lightswitch application and recently it started to create additional tables and views in my database. It creates following tables:…
user1494126
0
votes
1 answer

Load operation failed after selecting a new table - works again after unselect

I am currently facing a really strange problem with Visual Studio LightSwitch 2010 in combination with an Oracle Database and ODP.NET. So far I have added all the necessary tables to the LightSwitch application and also created the screens for all…
Daniel W.
  • 449
  • 10
  • 29
0
votes
1 answer

How do I change the default Tab Title for a Visual Studio 2011 RC Lightswitch Detail Screen?

I have a simple Lightswitch Ap that I am building for use in my business and as a test of Lightswitch. The Ap uses a single table with many fields so I am using a list-Detail screen with the basic info displayed on the selected item along with 3…
Mike B
  • 2,592
  • 3
  • 33
  • 46
0
votes
1 answer

In Lightswitch, how do I add a new entity that references a view?

I'm trying to create a simple Lightswitch application that contains one table ("Transaction" entity) and one view ("Invoice" entity). In this case, the Invoices view is generated from the Transactions table by grouping on Transactions.InvoiceId. The…
Mike
  • 7,500
  • 8
  • 44
  • 62
0
votes
2 answers

How can I use a linq query in a select statement to determine a boolean with entity framework

I am querying a set of Entity Framework objects and projecting them through a WCF RIA service into lightswitch. In my query I perform a join between a couple of tables, one of which are details for a summary table. I want to determine which…
0
votes
2 answers

Visual Studio LightSwitch - How can I change the text color of a DataGrid Column

Example : A Visual Studio LightSwitch Screen showing 2 Columns Name & Salary in DataGrid All I want is the text of Salary Column to be font-bold and red in color
HatSoft
  • 11,077
  • 3
  • 28
  • 43
0
votes
1 answer

Selecting items that are not in another table or are not within a given date range

I'm working on a program that keeps a list of physical advertisement spots and their reservations (a date range). The program needs to be able to find "open spots" for ads within an ad category. I have three tables: AdTypes, AdPlaces and…
0
votes
3 answers

Integrate Crystal Reports with Microsoft Visual Studio Lightswitch

I've been browsing the web searching for an answer to this for a few weeks now, jumping back to other assignments at work because I can't figure it out. I've searched google, youtube, stackoverflow, and several more websites. The typical solution I…
woods
  • 243
  • 4
  • 10
  • 20