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

Member Directory
Name Location Website Joined Last Active Posts
nassos 22 Jul 2013 06:28 AM 22 Jul 2013 06:28 AM
natewaldrop 05 Jan 2012 01:22 PM 03 Mar 2012 01:38 AM
Nathan 08 Dec 2011 07:40 PM 15 Dec 2011 01:31 PM 1
Nathan 15 Dec 2011 08:25 PM 22 Dec 2011 04:41 PM
Nathan 15 Apr 2014 03:05 AM 15 Apr 2014 12:12 PM
natovich 15 Sep 2011 01:34 PM 15 Sep 2011 01:35 PM
naty 19 Jun 2011 12:05 PM 26 Jun 2011 11:37 AM 3
Naum 08 Feb 2012 06:38 AM 22 Feb 2012 03:54 AM
Naustradamus 13 Feb 2014 04:05 PM 14 Feb 2014 12:04 AM
Naveen 17 Jun 2014 02:17 PM 18 Jun 2014 01:33 AM
Naveen 08 Jul 2014 02:11 PM 09 Jul 2014 03:54 PM
naveen 20 Jul 2014 12:40 PM 21 Jul 2014 12:02 PM
Naveen Kushwaha 26 Dec 2013 12:36 AM 26 Dec 2013 03:03 AM
naveenkada
NaveenY
Navneet 14 May 2012 04:37 PM 04 Jun 2012 11:17 AM
NAVNEET KAKKAR 11 Sep 2011 12:57 AM 11 Sep 2011 01:01 AM
naylynn 17 Apr 2014 02:57 PM 28 Apr 2014 02:50 AM
nayman 25 Feb 2014 08:49 AM 25 Feb 2014 02:09 PM
Nazdene 20 May 2014 07:10 AM 20 May 2014 03:51 PM
Page 3 of 17 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I am trying to do a simple excel file export with EPPlus and Web Api. In the html client I have a button that calls the web api and opens a new window. No error is thrown, but the result is always "file could not be downloaded".  I get the save file dialog but the file name is Order/ instead of the expected Orders.xls or Orders.xlsx.  Can anyone help? I'm surprised this is so difficult. using System.Linq; using System.Net.Http; using System.Web.Http; using OfficeOpenXml; using System.Collections.Generic; using System.IO; using System.Net.Http.Headers; using System.Net; using System.ComponentModel.DataAnnotations; namespace LightSwitchApplication { public class OrdersController : ApiController { // GET: api/Orders [HttpGet] public HttpResponseMessage Get() { HttpResponseMessage response; response = Request.CreateResponse(HttpStatusCode.OK); MediaTypeHeaderValue
Read more...

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

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