You are here:   Forum
Register   |  Login


Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:


Forums > Default Group
Default Group Toggle Group Display
-- Forums Topics Replies Last Post
LightSwitch Hackers LightSwitch Hackers
For those that want to take LightSwitch as far as you can take it!
182 371
Lightswitch and ASP.NET I...
by rbrogan
05 Aug 2013 10:17 AM
Marketplace (find and offer services) Marketplace (find and offer services)
Looking for people or products, or have services or products to sell related to LightSwitch
18 17
LightSwitch Solutions Dev...
by netsuper
17 Mar 2014 08:33 AM
LightSwitch Beginners LightSwitch Beginners
673 1378
Sorting by relation
by Xaser512
22 Aug 2013 01:07 AM
LightSwitch Tips LightSwitch Tips
Post any tips about Lightswitch that you wish to share
23 110
RE: Creating A WCF RIA Se...
by admin
26 Jul 2013 05:05 AM
LightSwitch Community Announcements LightSwitch Community Announcements
Post what is going on in the LightSwitch Community
113 107
RE: A LightSwitch HTML cl...
by admin
31 Jul 2013 04:25 AM
LightSwitch Hosting LightSwitch Hosting
Discussions related to Hosting LightSwitch Applications
21 30
Deploying Lightswitch app...
by profesorkind
15 Aug 2013 05:09 AM
Vender Forums Vender Forums
Forums for LightSwitch Marketplace venders
0 0

DELORDSON (LightSwitch Extras) DELORDSON (LightSwitch Extras)
Forum for product feedback and issues
15 27
Issues with Jetpack Theme...
26 Apr 2013 02:37 AM
SoCal LightSwitch User Group SoCal LightSwitch User Group
0 0

General Discussion General Discussion
Welcome to SoCal LightSwitch User Group
3 0

Who is online:
There are currently 7 guests(s) online.
There are 0 of 12259 member(s) online:  

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Hi friends, Just learning Lightswitch and am having a problem that I can't seem to fix. I have an HTML query screen that has many user selectable parameters that are used to filter the contents of a table that has thousands of rows. I need to display some aggregate information on the query results, so have had to turn paging off. This is obviously very slow - it takes several minutes for the screen and its data to load, and several minutes every time a query parameter is changed.   It seems like the best way to fix this would be to somehow disable auto refresh on the results table so that the user could load the screen, select the query parameters they wanted, and then click a "run query" button to display the results. I've tried setting the results table to isVisible = false, and isEnabled = false until the run query button is clicked, but that has no effect, the table still refreshes every time a parameter is changed. Any thoughts? Thanks so

Morning everyone! Coming along here I am trying to figure out how to do something that I believe is possible but because I'm new to working with LightSwitch I'm just not sure about how to go about it.  If I can accomplish it this would make things so much simpler for my project. Let me give simplified example that I can easily translate to the actual project to keep things in perspective. I have these field elements in the table I'm dealing with IDIndex, IDFamily, IDMember, IDDoument, & Content.  Now there are other fields involved but they get pulled along with this process as a result of these 4 key elements, so if we know what happens to these we know what happens to the rest. Explanation of the nomenclature of these are as follows: IDIndex is as you might guess an identity field auto indexed.  Simple straight forward. Just there to keep order. IDFamily is a short abbreviated representation of a family classification to which members are

In the HTML client, if you have an Add/Edit screen with "Show as Dialog" disabled, and you open that screen to add a new entity, two issues happen if you then refresh the page: 1. There is no entity bound to the screen, e.g. if this is an Add/Edit Person screen, screen.Person is undefined. 2. If you fill out the form and click the save button, it will save the entity, but it doesn't navigate back to the browse screen; it just stays on the Add/Edit screen with no indication that the save happened. I found a workaround for the first issue: in the screen's created event, I can just create a new entity if it doesn't already exist, e.g.: myapp.AddEditPerson.created = function (screen) { //in case the screen is refreshed if (!screen.Person) { screen.Person = new myapp.Person(); } } However, I am not sure what to do about the second issue. Does anyone have a workaround?

I have the following code in my button's _postRender function: myapp.Splash.btnSplashOK_postRender = function (element, contentItem) { $(element).find("ui-btn-inner").css({ "padding-left": "0" }); $(element).css({ "padding-left": "0", "margin-left": "50%", "margin-right": "50%" }); }; And the result is this: The padding-left, margin-left, and margin-right are being applied to the div just fine. But the find("ui-btn-inner") doesn't seem to be working at all. And the margin tags don't seem to be taking into account the width of the button in order to get it to the center of the page. What am I missing here?

Case scenario: I want to allow add new child based upon a property's value, I couldn't find a way to handle canExecute for default addAndEditNew button so I created a custom Command "my_addAndEditNew" and wrote the logic for can_Execute and works fine; a simple "return myProperty". But, after saving child record the original screen does not show the new entity in collection (COBROS). I tried left afterClosed unhandled, and my best try (below) shows the record... but EMPTY! myapp.showAgregarEditarCobro(null, { beforeShown: function (AddEditScreen) { // Create a new order here. var nuevoCobro = new myapp.COBROItem(); AddEditScreen.COBROItem = nuevoCobro; }, afterClosed: function (addEditScreen, navigationAction) { var nuevoCobro = addEditScreen.COBROItem; if (navigationAction === msls.NavigateBackAction.commit) {

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