You are here:   Forum
Register   |  Login


Forum Notice

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


Default Group Toggle Group Display
-- Forums Topics Replies Last Post
LightSwitch Hackers LightSwitch Hackers
For those that want to take LightSwitch as far as you can take it!
182 371
Lightswitch and ASP.NET I...
by rbrogan
05 Aug 2013 11:17 AM
Marketplace (find and offer services) Marketplace (find and offer services)
Looking for people or products, or have services or products to sell related to LightSwitch
18 17
LightSwitch Solutions Dev...
by netsuper
17 Mar 2014 09:33 AM
LightSwitch Beginners LightSwitch Beginners
673 1378
Sorting by relation
by Xaser512
22 Aug 2013 02:07 AM
LightSwitch Tips LightSwitch Tips
Post any tips about Lightswitch that you wish to share
23 110
RE: Creating A WCF RIA Se...
by admin
26 Jul 2013 06:05 AM
LightSwitch Community Announcements LightSwitch Community Announcements
Post what is going on in the LightSwitch Community
113 107
RE: A LightSwitch HTML cl...
by admin
31 Jul 2013 05:25 AM
LightSwitch Hosting LightSwitch Hosting
Discussions related to Hosting LightSwitch Applications
21 30
Deploying Lightswitch app...
by profesorkind
15 Aug 2013 06:09 AM
Vender Forums Vender Forums
Forums for LightSwitch Marketplace venders
0 0

DELORDSON (LightSwitch Extras) DELORDSON (LightSwitch Extras)
Forum for product feedback and issues
15 27
Issues with Jetpack Theme...
26 Apr 2013 03:37 AM
SoCal LightSwitch User Group SoCal LightSwitch User Group
0 0

General Discussion General Discussion
Welcome to SoCal LightSwitch User Group
3 0

Who is online:
There are currently 6 guests(s) online.
There are 0 of 12428 member(s) online:  

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 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) {

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

Hi All- A few days ago I set up a windows 7 box to host lightswitch html apps. I followed these instructions, more or less: I tried the same thing today and all the lightswitch options are suddenly missing! Any ideas? Thanks- Michael

I have a LS 2015 silverlight application and I’m having problems copying a record to an archive table.  The code is shown below and I get the error on the last line. The MergedByID is a foreign key (not required) linked to the Users.UserID field. There is a One-to-many relationship between the Users and Media tables. I get the error when the Media.MergedByID is null.  

MediaArchive arc = this.DataWorkspace.Conn.MediaArchives.AddNew();


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