You are here:   Forum
Register   |  Login


Forum Notice

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


Topic Replies Views Last Post
Oddball results when connecting to published LS database
by angus454 in LightSwitch Beginners
0 921
06 Feb 2013 12:45 PM
Computed Column, dropping out of code
by Craig in LightSwitch Hackers
0 1985
05 Feb 2013 05:12 AM
The next LightSwitch User Group will be February 13th at 7:00pm
by Michael Washington in General Discussion
0 726
31 Jan 2013 07:11 PM
Referance Sql Client
by jbaillie in LightSwitch Beginners
0 1340
30 Jan 2013 11:38 AM
Referance Dll
by jbaillie in LightSwitch Beginners
0 768
30 Jan 2013 11:34 AM
Question about deployment
by hive8 in LightSwitch Beginners
0 877
18 Jan 2013 06:53 AM
Roles - Group Inheritance vs Direct Assignment (Group inheritance not working)
by AM in LightSwitch Beginners
0 1138
18 Jan 2013 04:12 AM
Lightswitch Training Kit - EhancingBookStore - Sql Server connection
by bbetts in LightSwitch Beginners
0 2123
16 Jan 2013 05:04 PM
Hardware - Software Requirements
by jim in LightSwitch Beginners
0 1065
10 Jan 2013 11:57 AM
foreign Key Indexing
by Andy Drury in LightSwitch Beginners
0 1981
10 Jan 2013 04:14 AM
custom lookup picker screen
by omar awwad in LightSwitch Hackers
0 1608
08 Jan 2013 10:38 AM
Profiling a Lightswitch application
by juancarlosr in LightSwitch Hackers
0 1517
07 Jan 2013 03:37 PM
UI Automation Testing lightswitch
by dvr in LightSwitch Hackers
0 1932
03 Jan 2013 07:41 AM
Does Light Switch uses only SQL Server Express Edition?
by chaithanya in LightSwitch Beginners
0 1271
01 Jan 2013 10:00 PM
Calculate selective lines from order detail
by Michael in LightSwitch Beginners
0 1447
28 Dec 2012 07:13 AM
Stored Procedure as a Data Source for Tree Control
by svetoslav80 in LightSwitch Beginners
0 1698
24 Dec 2012 05:41 AM
Can't use System.Data.SqlClient in LightSwitch
by Letha in LightSwitch Beginners
0 2449
19 Dec 2012 01:22 PM
Create a Border Excel Document
by jbaillie in LightSwitch Beginners
0 1011
16 Dec 2012 11:41 AM
how to load data to a grid automatically??????
by andres in LightSwitch Beginners
0 1301
05 Dec 2012 08:45 AM
LightSwitch HtmlClient Event/Method
by sstigi in LightSwitch Hackers
0 1661
04 Dec 2012 05:18 AM
Page 5 of 20 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I don't know how I didn't notice this before, but it appears that you can't use a lightswitch modeled query inside a RIA Service. For example, if you have a lightswitch EntitySet Orders and you use the designer to model a query OrdersByCustomer, you don't have access to that query inside the RIA Service ObjectContext. Of course you can access Orders and make the same query on the RIA Service but you can't use the same query already modeled in LS, (i.e. you can get Context.Orders, but you can't get Context.OrdersByCustomer(id)). Is that the case or am I doing something wrong?

Hi Hopefully someone can help.! I am trying to update the data source within my HTML5 Lightswitch application and I get the above error message. The only way I seem to be able to get it to allow me to update is when I don't update the SharePoint main list. (There is another list that is used for a choices menu but that one works). Doing the update without the main list removes all my fields from all screens and then when I add the main list again it all works but I would have to manually basically recreate the app as I have to add all fields again. Has anyone got any idea on what could be causing this? Within the SharePoint list I have modified it by creating Calculated columns which aren't within the app - could it be this? Is there any way to get it to work again as the user is going to want me to modify it more which will involve needing new columns(List) and screens(HTM5). Many thanks. Ryan

Hi All, New to lightswitch and love all the help the community provides in lieu of in depth MS documentation. I have been struggling with refreshing a parent screen after a save and am finally breaking down to ask the community for help after reading many articles related to this. I add button to execute opening the screen. I have the beforeShown & afterClosed events working, but when the screen opens some contentItems are populated while others have IsEnabled as false. This leads me to think it's a parameter issue. I am not sure what to pass for a new record. myapp.showAddEditTIME(parm1, parm2 {embedded function}) parm1 and parm2 escape me. Please help! Thanks in advance myapp.ViewTASK.AddTIME_Tap_execute = function (screen) { // Write code here. alert("fired"); myapp.showAddEditTIME(screen, { //I think this line is the problem. I have tried adding ', null' after screen as well. beforeShown: function (editScreen) {

Library Application
11/22/2015 7:40 PM
Hi Guys, I am trying to create an library application for keeping records of books and members. I have created three different tables: Members - which holds the member's information Books - which holds the book's information Transaction - which holds the transaction's information. I have created relationships between all three tables. I am having problem with my add transaction screen where i want to display four fields : Member Number, Member Nam, Issue Date and Return Date of the book. What i basically want is when I click on the add button in add transaction screen and when I enter the first field which is member number, it should automatically grab the member name from the database.  I can show the screenshots if required. Can someone please help me with this. Thank you 

Hi, I just noticed that in the Lightswitch HTML client, if I start entering data in an add/edit form but click the back button (or navigate away in some other way) before saving the chances, the changes are discarded without any warning. Is there any way to set up a warning in case the user accidentally navigates away from the page? Most browsers have multiple keyboard and mouse shortcuts set up for the back button, so it's not that unusual to navigate back accidentally. I'm concerned this could be an issue with my app, especially since some of my forms have a lot of fields across multiple tabs. Thanks, Matt

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