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

Search this forum:
Search
Page 2 of 34 << < 12345 > >>
Topics
Replies
Views
Last Post
[RESX:TopicRead]
Set text of Text control
DataArtist
0 1286
23 Jul 2013 10:54 AM
[RESX:TopicRead]
Convert project lightswith desktop for lightswitch html5
Humberto Reis
0 1671
19 Jul 2013 03:06 AM
questionmark.gif
Sharepoint Online app - Cant get user information list
Emir M
3 2199
by  Michael WashingtonJump to last post
15 Jul 2013 04:23 AM
[RESX:TopicRead]
HTML Error 401.0 Unauthorized
Nicholas Holloway
0 2231
10 Jul 2013 12:07 PM
[RESX:TopicRead]
HTML - Set a parameters into screens
Sandro Pinheiro
3 3331
by  Sandro PinheiroJump to last post
09 Jul 2013 10:16 AM
crazy.gif
Problem with publish with Login
Luis
1 1110
by  Michael WashingtonJump to last post
09 Jul 2013 04:33 AM
[RESX:TopicRead]
USER MANAGEMENT
andrealves
4 1385
by  andrealvesJump to last post
08 Jul 2013 10:14 AM
sad.gif
Problem with Web.Config and Properties Files
Luis
1 729
by  LuisJump to last post
08 Jul 2013 03:22 AM
[RESX:TopicRead]
Calling LS Webservice in HTML page by Javascript
Pinky
1 1559
by  Michael WashingtonJump to last post
03 Jul 2013 04:16 AM
[RESX:TopicRead]
LS Html Client: Bind Data to Html
Pinky
3 1981
by  PinkyJump to last post
03 Jul 2013 01:36 AM
questionmark.gif
How to create a modal PopUp
Pinky
0 1226
27 Jun 2013 11:50 PM
[RESX:TopicRead]
connecting to LS database
Peter Trefren
0 917
27 Jun 2013 12:46 PM
[RESX:TopicRead]
HTMLClient get authenticated user name
syadnom
0 1265
26 Jun 2013 02:02 PM
[RESX:TopicRead]
htmlclient how to clear a local property? aka reload button
syadnom
0 979
26 Jun 2013 01:07 PM
[RESX:TopicRead]
i need to manipulate one datagrid row based on a selected row from another datagrid
StuartCurenton
1 2059
by  Michael WashingtonJump to last post
24 Jun 2013 09:31 AM
[RESX:TopicRead]
Call SQL Server Agent to run Job
Lee
0 1090
20 Jun 2013 06:47 AM
[RESX:TopicRead]
Database design, or parameter/query issue ?
Kevino
1 774
by  Michael WashingtonJump to last post
20 Jun 2013 04:18 AM
[RESX:TopicRead]
Play audio file (Audible Notification)
JR Donayre
1 818
by  ClintonGallagherJump to last post
19 Jun 2013 08:09 AM
[RESX:TopicRead]
C1 LightSwitch components wont load due to publickeytoken=null
Peter Trefren
Resolved
2 1618
by  Peter TrefrenJump to last post
17 Jun 2013 07:45 AM
[RESX:TopicRead]
Is there a Lightswitch 2012 modal helper class?
Not Resolved
1 1618
by  virtualCableTVJump to last post
14 Jun 2013 01:30 PM
Page 2 of 34 << < 12345 > >>


Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

following this code from this link: https://social.msdn.microsoft.com/Forums/vstudio/en-US/479cbc96-6ec2-4d9f-b2f8-a2b43a09111e/html-client-dynamically-count-records-in-a-collection-on-browse-screen?forum=lightswitch I have got my screen to count how many rows are present when the screen first loads. In my scenario I have a add button located on the bottom navigation bar. this opens up a dialog window where the user can add the relevant information. However when the user hits save, and is navigated back to the browse screen, the count still displays the previous value. If i was to refresh the page it updates but this is not what i am after, when i navigate back i want the value to add by one, am i missing something in this code?             screen.ExpanderLines.addChangeListener("state", function() {                     screen.countExp = screen.ExpanderLines.data.length;  
Read more...

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

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