You are here:   Forum
Register   |  Login


Forum Notice

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


Search this forum:
Page 5 of 34 << < 34567 > >>
Last Post
LS not refresh related data after add new tables
0 1667
05 Apr 2013 10:45 AM
Dynamic Run time Choice List
Not Resolved
0 2267
04 Apr 2013 10:46 PM
Using Oracle External Data Source
1 3647
by  ClayJump to last post
01 Apr 2013 12:10 PM
Format Pattern not working?
0 2320
01 Apr 2013 06:58 AM
Geocoding with Lightswitch
0 1196
28 Mar 2013 10:12 PM
Set Default Values on Fields within a Screen
0 2565
27 Mar 2013 08:56 AM
Lightswitch HTML Navigate from variables on the URL bar
0 2929
22 Mar 2013 04:41 AM
Video Player
10 4593
by  Mash_2kJump to last post
21 Mar 2013 08:19 AM
Enity Set convert to generic funtion
0 1221
19 Mar 2013 09:10 AM
uploading Error need help with bug
0 973
17 Mar 2013 09:02 AM
Getting Original Entity Values in LS HTML New...
Jack Stephenson
0 1578
15 Mar 2013 11:17 AM
PDF integration?
0 1731
15 Mar 2013 03:17 AM
Custom Lightswitch HTML Table Control
1 3546
by  skehoe1989Jump to last post
14 Mar 2013 10:52 AM
Data Validation and SQL query
0 1644
14 Mar 2013 12:30 AM
Use Cases for multiple instances of 2-tier app sharing the same database?
0 727
13 Mar 2013 07:13 AM
Why fields are Read-Only?
Not Resolved
2 4618
by  Michael WashingtonJump to last post
12 Mar 2013 08:03 PM
Use Cases for multiple instances of 2-tier app sharing the same database?
0 892
12 Mar 2013 06:04 PM
Selecting and Inserting Data Dynamically
Not Resolved
1 2310
by  bsmithJump to last post
12 Mar 2013 01:11 PM
Lightswitch HTML5 Delete Button not available
Jack Stephenson
Not Resolved
2 4241
by  Jack StephensonJump to last post
11 Mar 2013 09:14 AM
missing Chart-control
4 2342
by  Michael WashingtonJump to last post
10 Mar 2013 08:12 AM
Page 5 of 34 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Okay on to the next phase of my project and I seem to always find interesting things to puzzle me. I built two tables in LS native (no funny stuff no legacy data) Then built a Common Screen Set and it create the three expect renditions of an Add, Browse, and View screen I wanted to test it out to see before I went further and made the Add screen home and fired it up. Interestingly enough this is what I got. By the way. The example I leave you here is every bit as functional as what was on my screen as well... The text boxes are completely greyed out and none functional.  So the Add screen is pretty much worthless.  What switch did I miss that I should have flipped? Regards, Ken... Ken Carter

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

Hello,  I am getting a javascript error when I attempt to add a record to the database: Unable to get value of the property 'entityState': object is null or undefined I followed this guide to add a record to a table: Dynamically add a record.  I have a table that contains foreign keys to 2 other tables. The table I am trying to add to is called "GroupSubGroupPair".  It contains a key "Id" field, the standard LS fields (Created, CreatedBy, RowVersion), a foreign key called "GroupSubGroupPair_Group" to the Group table, and a foreign key called "GroupSubGroupPair_SubGroup" to the SubGroup table.   In the Group table there is a record with Id = 7 In the SubGroup table there is a record with Id = 67 I have a button that has execute code with the following:  myapp.AddEditSubGroupChildGroups.submitSubGroup_execute = function (screen) { var newGroupSubGroupPair = new

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?

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