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
Oddball results when connecting to published LS database
by angus454 in LightSwitch Beginners
0 685
06 Feb 2013 12:45 PM
Computed Column, dropping out of code
by Craig in LightSwitch Hackers
0 1544
05 Feb 2013 05:12 AM
The next LightSwitch User Group will be February 13th at 7:00pm
by Michael Washington in General Discussion
0 500
31 Jan 2013 07:11 PM
Referance Sql Client
by jbaillie in LightSwitch Beginners
0 1024
30 Jan 2013 11:38 AM
Referance Dll
by jbaillie in LightSwitch Beginners
0 559
30 Jan 2013 11:34 AM
Question about deployment
by hive8 in LightSwitch Beginners
0 705
18 Jan 2013 06:53 AM
Roles - Group Inheritance vs Direct Assignment (Group inheritance not working)
by AM in LightSwitch Beginners
0 871
18 Jan 2013 04:12 AM
Lightswitch Training Kit - EhancingBookStore - Sql Server connection
by bbetts in LightSwitch Beginners
0 1654
16 Jan 2013 05:04 PM
Hardware - Software Requirements
by jim in LightSwitch Beginners
0 812
10 Jan 2013 11:57 AM
foreign Key Indexing
by Andy Drury in LightSwitch Beginners
0 1469
10 Jan 2013 04:14 AM
custom lookup picker screen
by omar awwad in LightSwitch Hackers
0 1208
08 Jan 2013 10:38 AM
Profiling a Lightswitch application
by juancarlosr in LightSwitch Hackers
0 1203
07 Jan 2013 03:37 PM
UI Automation Testing lightswitch
by dvr in LightSwitch Hackers
0 1516
03 Jan 2013 07:41 AM
Does Light Switch uses only SQL Server Express Edition?
by chaithanya in LightSwitch Beginners
0 1018
01 Jan 2013 10:00 PM
Calculate selective lines from order detail
by Michael in LightSwitch Beginners
0 1133
28 Dec 2012 07:13 AM
Stored Procedure as a Data Source for Tree Control
by svetoslav80 in LightSwitch Beginners
0 1414
24 Dec 2012 05:41 AM
Can't use System.Data.SqlClient in LightSwitch
by Letha in LightSwitch Beginners
0 1838
19 Dec 2012 01:22 PM
Create a Border Excel Document
by jbaillie in LightSwitch Beginners
0 812
16 Dec 2012 11:41 AM
how to load data to a grid automatically??????
by andres in LightSwitch Beginners
0 1132
05 Dec 2012 08:45 AM
LightSwitch HtmlClient Event/Method
by sstigi in LightSwitch Hackers
0 1327
04 Dec 2012 05:18 AM
Page 5 of 20 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I try following code but selFahrtbu and selTouren is undefined. This should be the entity of the called Screens. Why are this undefined ? myapp.BrowseDisposaetze.QueryDispoSaetzeByDatAndFahrer_ItemTap_execute = function (screen) { var satztkz = screen.QueryDispoSaetzeByDatAndFahrer.selectedItem.satztkz if (satztkz=="F") { var selFahrtbu = screen.QueryDispoSaetzeByDatAndFahrer.selectedItem.tblfahrtbu; myapp.showViewFahrtenbuch(selFahrtbu); } else { var selTouren = screen.QueryDispoSaetzeByDatAndFahrer.selectedItem.tbltouren; myapp.showViewtbltouren(selTouren); } }; Helmut
Read more...

I created a browse screen to be used as a modal window for another screen.  In the modal screen there is a button to return to the orignal screen.  The button uses the showScreen method.  This seems to work if the modal screen is in full screen mode.  However, if "show as dialog" is selected for the modal screen, when you try to navigate back to the original screen, the modal doesn't close and the original screen is then displayed inside the modal while being greyed out on the outside of the modal (not good).  How do you close the dialog and return to the original screen?  There are no records being added or changed in the modal so it doesn't need to commitChanges; just navigate back to the previous screen and provide that screen's parameters.  I looked at the navigateBack() method but couldn't figure out how to add the screen's parameters with that.  TIA
Read more...

querying on the client
1/23/2015 11:27 AM
I need to do some querying client side. As a simplified example, this works great: var filter = "(substringof('Futterkiste', CustomerName) eq true)"; msls.application.activeDataWorkspace.ApplicationData.Customers .filter(filter) .top(1) .execute() .then(function (results) { if (results.results.length >= 0) { screen.prpCustomer = results.results[0]; } }, function (error) { alert(error); } ); However, if I already have the customer data loaded (or at least available as a local screen query), how can I filter and use that collection?  This produces Error: Object doesn't support property or method 'filter'. var filter = "(substringof('Futterkiste', CustomerName) eq true)"; screen.getCustomers() .filter(filter) // filter not supported .top(1) .execute() // is this necessary with
Read more...

"Common Screen Set" is missing
1/23/2015 7:14 AM
I've installed VS2013 - Update 4 and the Office Tools November Update. I'm starting a new project and I want to use the "Common Screen Set", but that Screen Type does not show up in my list of screen templates. This is a completely new installation with no projects (yet). Did I miss a step somewhere? Thanks!
Read more...

I have created a Search Screen using the Add Query method to the Child Entity, then creating a Browse Screen based on that Query. This has successfully allowed me to use the Query Designer to set up my search of all the fields in the Parent and Child entity. The problem I am having is that if the Parent has no Children, then that Parent record isn't searchable at all. Maybe I'm going about this the wrong way.  I have also tried extending the query with LINQ but I can't seem to perform a Join on the Navigation Property (Parent_Child), nor can I seem to make use of the Navigation Property via Intellisense at all. Any help would be greatly appreciated.
Read more...

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