You are here:   Forum
Register   |  Login

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:


Search this forum:
Page 4 of 34 << < 23456 > >>
Last Post
Lightswitch seeing my WCF\RIA Code First Entity.
Mike Pisano
Not Resolved
2 1769
by  Mike PisanoJump to last post
16 May 2013 12:03 PM
How to export the structure of a table
Humberto Reis
2 849
by  ClintonGallagherJump to last post
11 May 2013 04:05 PM
Modal Window Picker
Andy Drury
Not Resolved
0 1319
10 May 2013 12:19 AM
What is the reason lightswich adds and removed the S character pulled from a database. Is there a way to turn it off
0 568
07 May 2013 01:28 AM
LS Update does not save rows when screen based on view
Peter Trefren
2 917
by  Peter TrefrenJump to last post
06 May 2013 12:09 PM
Joins in lightswitch
6 1585
by  Richard WaddellJump to last post
02 May 2013 04:42 AM
can I open a specific LS page via a URL parameter ?
2 2499
by  CoastalDataJump to last post
25 Apr 2013 11:18 AM
Filtering a field using first letter
0 666
24 Apr 2013 09:38 AM
Conditionally Display Tab
Jack Stephenson
1 1303
by  Andy DruryJump to last post
24 Apr 2013 04:21 AM
SQL Server 2012 R2 Express & Lightswitch
Not Resolved
0 1473
23 Apr 2013 01:55 PM
Own UserControl with Image, Binding issue
1 843
by  Michael WashingtonJump to last post
23 Apr 2013 09:31 AM
Create new record - Dynamic data
0 974
22 Apr 2013 01:15 AM
How to Deploy Light Switch application to Windows Mobile?
0 783
16 Apr 2013 11:55 PM
What is the default Username and Password for LightSwitch HTML client login
0 1328
16 Apr 2013 11:45 PM
n00b : Lightswitch / Azure & Security.
1 709
by  ClintonGallagherJump to last post
14 Apr 2013 09:31 AM
How to set platform toolset?
2 861
by  pishpeckiJump to last post
13 Apr 2013 05:01 AM
Errors with Forms Authentication in HTML client
0 1442
11 Apr 2013 09:02 PM
Extension business type
Humberto Reis
Not Resolved
0 441
09 Apr 2013 05:51 PM
Silverlight Developer Runtime
1 1296
by  bwJump to last post
08 Apr 2013 10:09 AM
How to loop through all tables
0 928
05 Apr 2013 10:55 AM
Page 4 of 34 << < 23456 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

LightSwitch Connection String
8/31/2014 1:52 PM
Hi all experts, I have a Lightswitch application with an Internal Database, I now need to publish the application on this pc and all other pcs on my network so that all can connection to the same database which designed internally. I have no idea about SQL connection strings... and I knew that my application when published it will generate the database for me, I just need all to connect to the same database on one selected pc on the network using the connection string "Data source=""; Initial ...." format. Thanks in advance Ehab, Egy.

I'm rendering a custom control that will display it's own heading in a Browse Screen so I don't want anything to appear above it. What is the recommended way of meeting this requirement? Z A R D O Z

Hi, Creating a foreign key in SSMS and updating the datasource in LS pulls in the relationship but hides the foreign key column? From what I think I am getting from reading forums is , it seems to come down to : 1 - Creating a foreign key on SSMS and pulling it in to LS will hide the foreign key column. BUT cascading delete will work. 2 - Creating a foreign key (relationship) in LS will show the associated column. BUT cascading has to be done in the LS code programmatically. I need the SSMS cascading AND to see all table fields for every table in LS. Is this not possible? If the foreign key column is even named something else, where and how do i get to it, and keep the cascade? thanks for your time. david

I have an oracle table with an ID as PK. And the version I use for oracle doesn't have auto generated columns as in SQL Id is generated via a trigger.  I have attached this table to Lightswitch successfully , and it recognizes my ID as Primary Key.So far so good. However when I generate an Add Edit Screen for this table, despite of ID being primary key, the form asks it explicitly. If I do the same setup for sql server, this field is not generated for screen. What could be wrong ?

My query returns all results no matter what I write in the PreProcess query. I tried using the query designer filter options and it works, however the functionality I need can only be provided in the PreProcess query method. Here is the setup I have This goes in the HTMLClient screen custom control's render method //Get the last contract myapp.activeDataWorkspace.ApplicationData.LastContractTest(empId) .expand("Craft") .execute() .then(function (result) { var lc = result.results[0]; ... }); This goes in the application data service class And again even if I write a case that is guaranteed to return 0 results, it just does not work. partial void LastContractTest_PreprocessQuery(int? pEmpId, ref IQueryable<Contract> query) { query.Where(c => c.Employee.Id == pEmpId).OrderByDescending(c => c.ContractStartDate).FirstOrDefault(); }  can confirm through the debug log that the executing


Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation