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 1129
26 Jun 2013 03:02 PM
htmlclient how to clear a local property? aka reload button
by syadnom in LightSwitch Beginners
0 901
26 Jun 2013 02:07 PM
Call SQL Server Agent to run Job
by Lee in LightSwitch Beginners
0 963
20 Jun 2013 07:47 AM
Accessing Server-level Name Spaces via WCF RIA Services
by DedoOne in LightSwitch Hackers
0 1037
15 Jun 2013 03:00 AM
Question: how to remove new entities from autocomplete with query
by Johan in LightSwitch Hackers
0 1656
13 Jun 2013 02:57 AM
Relocating the default seach box
by DAL in LightSwitch Beginners
0 585
12 Jun 2013 08:36 AM
How to pass a parameter in lightswitch (Add screen)
by NESTicle in LightSwitch Beginners
0 1890
11 Jun 2013 02:30 PM
Display related properties from many-to-many relationship
by in LightSwitch Beginners
0 1027
11 Jun 2013 12:11 PM
Computed Field - Select Min Value from other table
by Floh in LightSwitch Beginners
0 1150
11 Jun 2013 04:32 AM
Close and Save All Screens
by CoastalData in LightSwitch Beginners
0 1064
10 Jun 2013 09:53 AM
How I can run an HTMLClient app without internet
by AAK in LightSwitch Hackers
0 1829
03 Jun 2013 02:10 AM
Dynamic Visibility? HTML Client
by Pat Tormey in LightSwitch Hackers
0 1888
25 May 2013 08:45 AM
How to manually trigger search function
by Allan Tolentino in LightSwitch Beginners
0 985
24 May 2013 06:29 AM
Accessing Remote WCF RIA Service from the LightSwitch application
by Techmonster13 in LightSwitch Hackers
0 1249
23 May 2013 10:22 PM
Lightswitch 2012 Html Client custom control textbox delete button
by Pinky in LightSwitch Beginners
0 1721
23 May 2013 02:41 AM
LightSwitch
by sharadrathore in LightSwitch Beginners
0 666
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 1113
15 May 2013 02:01 AM
How Do I Use The Attendance Control
by wdarnellg in LightSwitch Hackers
0 1241
12 May 2013 09:10 AM
Modal Window Picker
by Andy Drury in LightSwitch Beginners
0 1631
10 May 2013 01:19 AM
HTML Client - on new add screen created
by sid in LightSwitch Hackers
0 1598
09 May 2013 05:56 PM
Page 2 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

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

Hi I've been struggling to get this to work and am at my wits end. Below is what I wound up with. Please assist (see comments with the code). Thanks, Mark. myapp.ViewStoreGroup.ScreenContent1_render = function (element, contentItem) { $(document).ready(function () { // This works! // var tooltip = '<div id="tooltip"><h2>The tooltip title</h2><p>The tooltip contents here</p></div>'; // element.innerHTML = tooltip; // I am trying to open the web page in an iFrame. // I followed the "fancybox" instructions and placed the .css and .js files in a folder in my HTML client // But the code below just shows a link to Google.com and on clicking opens Google. var tooltip = '<a href="http://www.google.com" class="iframe">Google</a>'; element.innerHTML = tooltip; $('.iframe').fancybox({ width : '85%',
Read more...

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