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 1262
26 Jun 2013 02:02 PM
htmlclient how to clear a local property? aka reload button
by syadnom in LightSwitch Beginners
0 977
26 Jun 2013 01:07 PM
Call SQL Server Agent to run Job
by Lee in LightSwitch Beginners
0 1088
20 Jun 2013 06:47 AM
Accessing Server-level Name Spaces via WCF RIA Services
by DedoOne in LightSwitch Hackers
0 1137
15 Jun 2013 02:00 AM
Question: how to remove new entities from autocomplete with query
by Johan in LightSwitch Hackers
0 1850
13 Jun 2013 01:57 AM
Relocating the default seach box
by DAL in LightSwitch Beginners
0 681
12 Jun 2013 07:36 AM
How to pass a parameter in lightswitch (Add screen)
by NESTicle in LightSwitch Beginners
0 2175
11 Jun 2013 01:30 PM
Display related properties from many-to-many relationship
by in LightSwitch Beginners
0 1107
11 Jun 2013 11:11 AM
Computed Field - Select Min Value from other table
by Floh in LightSwitch Beginners
0 1325
11 Jun 2013 03:32 AM
Close and Save All Screens
by CoastalData in LightSwitch Beginners
0 1186
10 Jun 2013 08:53 AM
How I can run an HTMLClient app without internet
by AAK in LightSwitch Hackers
0 1972
03 Jun 2013 01:10 AM
Dynamic Visibility? HTML Client
by Pat Tormey in LightSwitch Hackers
0 2130
25 May 2013 07:45 AM
How to manually trigger search function
by Allan Tolentino in LightSwitch Beginners
0 1083
24 May 2013 05:29 AM
Accessing Remote WCF RIA Service from the LightSwitch application
by Techmonster13 in LightSwitch Hackers
0 1340
23 May 2013 09:22 PM
Lightswitch 2012 Html Client custom control textbox delete button
by Pinky in LightSwitch Beginners
0 1962
23 May 2013 01:41 AM
LightSwitch
by sharadrathore in LightSwitch Beginners
0 772
22 May 2013 02:24 AM
Hark attatch tool : get denote information from sqlserver and trans to display name in LS
by haoyujie in LightSwitch Hackers
0 1203
15 May 2013 01:01 AM
How Do I Use The Attendance Control
by wdarnellg in LightSwitch Hackers
0 1324
12 May 2013 08:10 AM
Modal Window Picker
by Andy Drury in LightSwitch Beginners
0 1868
10 May 2013 12:19 AM
HTML Client - on new add screen created
by sid in LightSwitch Hackers
0 1788
09 May 2013 04:56 PM
Page 2 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I have a browse screen to display query results in a table. This for a large table and there are 50+ query parameters that the user can enter.  The query parameters are all on a separate screen. 1.  I need a button on the separate screen that when clicked will clear (set null or undefined??) all of the parameters, to allow the user to reset the search.  The screen properties that are the parameters are of all different types (bool, string, details picker/entity, date).  Is there a way to get them all without having to do setPropertyName() for each one manually? 2. Related to question 1, is there a way to iterate through the properties and get a reference based on the type of property? I'm going to take a look at the contentItem properties and methods and try to get this working but was wondering if anyone knows any tricks before I spend hours digging around. Thanks! 
Read more...

already an open datareader
4/16/2015 7:57 AM
I get this error in Azure but not on my dev computer: there is already an open datareader associated with this command. When debugging Azure the error happens in a WCF RIA projet at this line (in a recursive method): if (!channel.ChannelCollection.IsLoaded) channel.ChannelCollection.Load(); Have you an idea to resolve this exception? Thanks Yves Pflieger
Read more...

I think this has been asked before, but darn I can't find it. I working with VS2013 on a Lightswitch desktop app. If I add a row to a SQL Server table via Lightswitch and the table has an Identity column, how do I find the value of the Identity column for the row I just added? I want to both tell it to the user and be able to retrieve the row later. Thanks in advance.
Read more...

C# class problem
4/15/2015 7:04 AM
Hello everybody, I'm trying to accomplish 2 things with the below snippet of code (from ApplicationDataService.lsml.cs in the server project of my Lightswitch 2013 solution) partial void Query1_PreprocessQuery(ref IQueryable<CandidateBasic> query) { query = from item in query where item.CreatedBy == this.Application.User.Name select item; } partial void CandidateBasics_Validate(CandidateBasic entity, EntitySetValidationResultsBuilder results) { var newcandidateCount = this.DataWorkspace.ApplicationData.Details.GetChanges().AddedEntities.OfType<CandidateBasic>().Count(); var databasecandidateCount = this.CandidateBasics.GetQuery().Execute().Count(); const int maxcandidateCount = 1; if (newcandidateCount + databasecandidateCount > maxcandidateCount) { results.AddEntityError("Error: you are only allowed to have one
Read more...

I have a chart built on data grid on a query screen. Chart worked fine. But I noticed if I have more than one page data the chartp only present First page Data. so if I remove "Page Support" the chart will contain all of the data but all the data will be  displayed on one page which is too much. Is there anyway auto separate data into multiple page but chart will show full data on first page.  Thanks.
Read more...

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