Creating Visual Studio LightSwitch Custom Controls
OData And Visual Studio LightSwitch
Creating Web Pages
Creating Web Pages 2013
Things For Sale
You are here:
This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:
For those that want to take LightSwitch as far as you can take it!
Lightswitch and ASP.NET I...
05 Aug 2013 11:17 AM
Marketplace (find and offer services)
Looking for people or products, or have services or products to sell related to LightSwitch
LightSwitch Solutions Dev...
17 Mar 2014 09:33 AM
Sorting by relation
22 Aug 2013 02:07 AM
Post any tips about Lightswitch that you wish to share
RE: Creating A WCF RIA Se...
26 Jul 2013 06:05 AM
LightSwitch Community Announcements
Post what is going on in the LightSwitch Community
RE: A LightSwitch HTML cl...
31 Jul 2013 05:25 AM
Discussions related to Hosting LightSwitch Applications
Deploying Lightswitch app...
15 Aug 2013 06:09 AM
Forums for LightSwitch Marketplace venders
DELORDSON (LightSwitch Extras)
Forum for product feedback and issues
Issues with Jetpack Theme...
26 Apr 2013 03:37 AM
SoCal LightSwitch User Group
Welcome to SoCal LightSwitch User Group
Who is online:
There are currently 22 guests(s) online.
There are 0 of 12660 member(s) online:
--Marketplace (find and offer services)
--LightSwitch Community Announcements
----DELORDSON (LightSwitch Extras)
Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers
LightSwitch 2013 - adding lightswitch classes after timeout
2/8/2016 1:22 AM
Hey, I'm building a LightSwitch 2013 HTML application. when i'm adding an html element to the DOM after timeout, it doesn't get all lightswitch classes that should be added if there wasn't a timout. For example: settimeout(function( $ul = $("<ul></ul>"); $ul.attr("data-role", "listview"); $ul.attr("data-filter", "true"); $(element).append($ul); ),100); The ul will not get all the classes that lightswitch would give if there was no timeout. Any ideas? Thanks.
Installing Lightswitch 2015 in Visual Studio 2015???
2/5/2016 3:21 PM
I have yet to get Lightswitch 2015 to work in Visual Studio 2015, either community or enterprise. I continue to get an error that the lsxtproj type is not supported when I try to create a new project?? Any suggestions?? mike mike d
Messing with Queries and Placement within Project code.
2/3/2016 11:59 PM
I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
Object Reference not set error when published but fine when debug locally
2/1/2016 11:22 PM
I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
Backing Up Lightswitch HTML projects
1/28/2016 11:27 AM
Hello, Is backing up the entire project directory all that is necessary to fully restore a Lightswitch HTML project? I presume that as long as you have the entire project backed up, you can open the project with LS and just publish it again to build everything that goes into C:\inetpub\ ? If there is anything tricky or 'gotcha' about this scenario, please let me know! Thank you!! For instance: any other files that should be grabbed, if services should be stopped before file copies are attempted, etc. I already found a script to clean up the LS directories before backing things up. Thank you!
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation
Copyright 2015 by Michael Washington