You are here:   Forum
Register   |  Login

 

Forum Notice

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

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Unanswered
Topic Replies Views Last Post
HTMLClient get authenticated user name
by syadnom in LightSwitch Beginners
0 1684
26 Jun 2013 03:02 PM
htmlclient how to clear a local property? aka reload button
by syadnom in LightSwitch Beginners
0 1295
26 Jun 2013 02:07 PM
Call SQL Server Agent to run Job
by Lee in LightSwitch Beginners
0 1462
20 Jun 2013 07:47 AM
Accessing Server-level Name Spaces via WCF RIA Services
by DedoOne in LightSwitch Hackers
0 1738
15 Jun 2013 03:00 AM
Question: how to remove new entities from autocomplete with query
by Johan in LightSwitch Hackers
0 2482
13 Jun 2013 02:57 AM
Relocating the default seach box
by DAL in LightSwitch Beginners
0 978
12 Jun 2013 08:36 AM
How to pass a parameter in lightswitch (Add screen)
by NESTicle in LightSwitch Beginners
0 3346
11 Jun 2013 02:30 PM
Display related properties from many-to-many relationship
by in LightSwitch Beginners
0 1406
11 Jun 2013 12:11 PM
Computed Field - Select Min Value from other table
by Floh in LightSwitch Beginners
0 1823
11 Jun 2013 04:32 AM
Close and Save All Screens
by CoastalData in LightSwitch Beginners
0 1656
10 Jun 2013 09:53 AM
How I can run an HTMLClient app without internet
by AAK in LightSwitch Hackers
0 2617
03 Jun 2013 02:10 AM
Dynamic Visibility? HTML Client
by Pat Tormey in LightSwitch Hackers
0 3050
25 May 2013 08:45 AM
How to manually trigger search function
by Allan Tolentino in LightSwitch Beginners
0 1445
24 May 2013 06:29 AM
Accessing Remote WCF RIA Service from the LightSwitch application
by Techmonster13 in LightSwitch Hackers
0 1779
23 May 2013 10:22 PM
Lightswitch 2012 Html Client custom control textbox delete button
by Pinky in LightSwitch Beginners
0 2657
23 May 2013 02:41 AM
LightSwitch
by sharadrathore in LightSwitch Beginners
0 1093
22 May 2013 03:24 AM
Hark attatch tool : get denote information from sqlserver and trans to display name in LS
by haoyujie in LightSwitch Hackers
0 1832
15 May 2013 02:01 AM
How Do I Use The Attendance Control
by wdarnellg in LightSwitch Hackers
0 1781
12 May 2013 09:10 AM
Modal Window Picker
by Andy Drury in LightSwitch Beginners
0 2656
10 May 2013 01:19 AM
HTML Client - on new add screen created
by sid in LightSwitch Hackers
0 2385
09 May 2013 05:56 PM
Page 2 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

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
Read more...

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
Read more...

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!
Read more...

Hello everyone I have a problem and need help. One of my main projects in LS is published as an application Out Of Browser on an Azure Web Sites. After the last publish that occurred in this week, despite having done publish the "Desktop" mode, new application installations occur in Web mode (in the case of this application triggers an exception, because the use of features that are only available in mode OOB). I noticed that Microsoft has updated the Silverlight Client a few days, and I'm suspecting that this problem has something to do with it. The problem does not occur when the application is already installed on the PC, only if a new installation occurs. Does anyone know what could have happened? Victor Perez
Read more...

My client does not like the default menu drop down that LightSwitch comes with.  Is there a way to change this behavior so that the menu is listed horizontally across the site?  I understand that LS is looking at development from a mobile environment but the client wants what the client wants.  Let's assume that this will not be used on a mobile device.   I did see a post by Michael Washington that utilizes AngularJS.  Is this the direction I should be going to make the UI more customized? Thank you.
Read more...

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