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
What is the reason lightswich adds and removed the S character pulled from a database. Is there a way to turn it off
by twic in LightSwitch Beginners
0 423
07 May 2013 01:28 AM
Issues with Jetpack Themes HELP!!!!!
by Andy Drury in DELORDSON (LightSwitch Extras)
0 769
26 Apr 2013 02:37 AM
Filtering a field using first letter
by DAL in LightSwitch Beginners
0 553
24 Apr 2013 09:38 AM
SQL Server 2012 R2 Express & Lightswitch
by in LightSwitch Beginners
0 1161
23 Apr 2013 01:55 PM
Create new record - Dynamic data
by Kevino in LightSwitch Beginners
0 750
22 Apr 2013 01:15 AM
How to Deploy Light Switch application to Windows Mobile?
by Ragavan in LightSwitch Beginners
0 623
16 Apr 2013 11:55 PM
What is the default Username and Password for LightSwitch HTML client login
by Ragavan in LightSwitch Beginners
0 1093
16 Apr 2013 11:45 PM
HTLM Camera/Signature Control?????
by Jim W in LightSwitch Hackers
0 822
13 Apr 2013 06:52 PM
Errors with Forms Authentication in HTML client
by Larry in LightSwitch Beginners
0 1171
11 Apr 2013 09:02 PM
Extension business type
by Humberto Reis in LightSwitch Beginners
0 365
09 Apr 2013 05:51 PM
How to loop through all tables
by magmuggy in LightSwitch Beginners
0 718
05 Apr 2013 10:55 AM
LS not refresh related data after add new tables
by francisco in LightSwitch Beginners
0 878
05 Apr 2013 10:45 AM
Dynamic Run time Choice List
by Ragavan in LightSwitch Beginners
0 1075
04 Apr 2013 10:46 PM
"Format Pattern" not working?
by Corrado in LightSwitch Beginners
0 910
01 Apr 2013 06:58 AM
Geocoding with Lightswitch
by zack142 in LightSwitch Beginners
0 730
28 Mar 2013 10:12 PM
Set Default Values on Fields within a Screen
by Michael in LightSwitch Beginners
0 1219
27 Mar 2013 08:56 AM
Lightswitch HTML Navigate from variables on the URL bar
by Pedro in LightSwitch Beginners
0 1462
22 Mar 2013 04:41 AM
Enity Set convert to generic funtion
by jbaillie in LightSwitch Beginners
0 599
19 Mar 2013 09:10 AM
uploading Error need help with bug
by jbaillie in LightSwitch Beginners
0 526
17 Mar 2013 09:02 AM
Getting Original Entity Values in LS HTML New...
by Jack Stephenson in LightSwitch Beginners
0 830
15 Mar 2013 11:17 AM
Page 3 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

One can use the following code in the created event of a screen to select the first item in a visual collection bound to a Table control (or any list control - code based on an old example from Huy): myapp.MyScreen.created = function (screen) { var visualCollection = screen.Orders; function selectFirst() { var first = visualCollection.data[0]; visualCollection.selectedItem = (first) ? first : null; } if (visualCollection.state === msls.VisualCollection.State.idle) { // If the visual collection is already loaded, try selecting the first item. selectFirst(); } else { // Otherwise, listen to the state change event and when the visual collection is loaded, // select the first item. Also remove the event handler because this should only happen once. function onVisualCollectionStateChanged() { if (visualCollection.state === msls.VisualCollection.State.idle) { visualCollection.removeChangeListener("state",
Read more...

I have a modal dialog screen that needs to be larger than the default in both height and width. I can use one of the Group control post-render methods on that dialog to set the height and Width, but I cannot seem to shift the dialog up by changing the top-margin of the dialog. I want the dialog to move up due to the fact that it is so large. This is the code in the Group control post-render method: myapp.MyLargePicker.SomeGroupControl_postRender = function (element, contentItem) { // set dialog width to 1200px $('div[class~="msls-dialog-frame"]').css('maxWidth', '1200px'); // set dialog height to 800px $('div[class~="msls-dialog-inner-frame"]').css('height', '800px'); // move the dialog up (it moves up and then down again??) setTimeout(function () { $('div[class~="msls-dialog-frame"]').css('margin-top', '10px'); }); }; Setting the margin-top above needs to be set inside the timeout() function otherwise it
Read more...

I have a table containing FirstName and LastName and am trying to project that as LastName, FirstName in a Table. I add a local property FullName in the client and add post render code: myapp.BrowseCustomerItems.FullName_postRender = function (element, contentItem) { function fullName() { return contentItem.data.LastName + ", " + contentItem.data.FirstName; } contentItem.dataBind("screen.ContentItems.FullName", fullName) }; The dataBind is not working.  I have tried using "screen.ContentItems.CustomerItems.FullName" as well. I hope the screen shot from VS2013 below will help.
Read more...

Is LightSwitch available for Visual Studio 2013 Express?  Is there an OS dependency for this and if so where is it documented?
Read more...

I'm having trouble in the HTML client adding new records with several relationships and could use a nudge in the right direction. I have three related tables.  'Order', 'Order Item' and 'Warehouse'.  Their relationships are: 1. The Order table has a one to many relationship to the Order Item table (example: an automobile Order needs 4 tire Order Items.) 2. The Warehouse table also has a one to many relationship with the Order Item table (example #2: A tire Order Item must come from some Warehouse.) This constitutes a many-to-many relationship between Order and Warehouse, and presents problems when adding new Orders.  (At least, I'm having problems.) For instance, let's say I'm on the Add Order screen and I want to add some Order Items at the same time.  Ordinarily that wouldn't be a problem with Lightswitch since you can 'include' the Child relationship on the Parent's Add/Edit screen and add children as you add the Parent. But in this case, when adding an
Read more...

1234

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