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

Search this forum:
Search
Page 2 of 34 << < 12345 > >>
Topics
Replies
Views
Last Post
[RESX:TopicRead]
Set text of Text control
DataArtist
0 716
23 Jul 2013 10:54 AM
[RESX:TopicRead]
Convert project lightswith desktop for lightswitch html5
Humberto Reis
0 841
19 Jul 2013 03:06 AM
questionmark.gif
Sharepoint Online app - Cant get user information list
Emir M
3 1199
by  Michael WashingtonJump to last post
15 Jul 2013 04:23 AM
[RESX:TopicRead]
HTML Error 401.0 Unauthorized
Nicholas Holloway
0 1148
10 Jul 2013 12:07 PM
[RESX:TopicRead]
HTML - Set a parameters into screens
Sandro Pinheiro
3 1341
by  Sandro PinheiroJump to last post
09 Jul 2013 10:16 AM
crazy.gif
Problem with publish with Login
Luis
1 692
by  Michael WashingtonJump to last post
09 Jul 2013 04:33 AM
[RESX:TopicRead]
USER MANAGEMENT
andrealves
4 886
by  andrealvesJump to last post
08 Jul 2013 10:14 AM
sad.gif
Problem with Web.Config and Properties Files
Luis
1 359
by  LuisJump to last post
08 Jul 2013 03:22 AM
[RESX:TopicRead]
Calling LS Webservice in HTML page by Javascript
Pinky
1 1090
by  Michael WashingtonJump to last post
03 Jul 2013 04:16 AM
[RESX:TopicRead]
LS Html Client: Bind Data to Html
Pinky
3 1150
by  PinkyJump to last post
03 Jul 2013 01:36 AM
questionmark.gif
How to create a modal PopUp
Pinky
0 689
27 Jun 2013 11:50 PM
[RESX:TopicRead]
connecting to LS database
Peter Trefren
0 542
27 Jun 2013 12:46 PM
[RESX:TopicRead]
HTMLClient get authenticated user name
syadnom
0 656
26 Jun 2013 02:02 PM
[RESX:TopicRead]
htmlclient how to clear a local property? aka reload button
syadnom
0 581
26 Jun 2013 01:07 PM
[RESX:TopicRead]
i need to manipulate one datagrid row based on a selected row from another datagrid
StuartCurenton
1 935
by  Michael WashingtonJump to last post
24 Jun 2013 09:31 AM
[RESX:TopicRead]
Call SQL Server Agent to run Job
Lee
0 588
20 Jun 2013 06:47 AM
[RESX:TopicRead]
Database design, or parameter/query issue ?
Kevino
1 425
by  Michael WashingtonJump to last post
20 Jun 2013 04:18 AM
[RESX:TopicRead]
Play audio file (Audible Notification)
JR Donayre
1 452
by  ClintonGallagherJump to last post
19 Jun 2013 08:09 AM
[RESX:TopicRead]
C1 LightSwitch components wont load due to publickeytoken=null
Peter Trefren
Resolved
2 803
by  Peter TrefrenJump to last post
17 Jun 2013 07:45 AM
[RESX:TopicRead]
Is there a Lightswitch 2012 modal helper class?
Not Resolved
1 797
by  virtualCableTVJump to last post
14 Jun 2013 01:30 PM
Page 2 of 34 << < 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