You are here:   Forum
Register   |  Login


Forum Notice

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


Topic Replies Views Last Post
HTMLClient get authenticated user name
by syadnom in LightSwitch Beginners
0 1974
26 Jun 2013 02:02 PM
htmlclient how to clear a local property? aka reload button
by syadnom in LightSwitch Beginners
0 1511
26 Jun 2013 01:07 PM
Call SQL Server Agent to run Job
by Lee in LightSwitch Beginners
0 1756
20 Jun 2013 06:47 AM
Accessing Server-level Name Spaces via WCF RIA Services
by DedoOne in LightSwitch Hackers
0 2104
15 Jun 2013 02:00 AM
Question: how to remove new entities from autocomplete with query
by Johan in LightSwitch Hackers
0 2817
13 Jun 2013 01:57 AM
Relocating the default seach box
by DAL in LightSwitch Beginners
0 1245
12 Jun 2013 07:36 AM
How to pass a parameter in lightswitch (Add screen)
by NESTicle in LightSwitch Beginners
0 4025
11 Jun 2013 01:30 PM
Display related properties from many-to-many relationship
by in LightSwitch Beginners
0 1701
11 Jun 2013 11:11 AM
Computed Field - Select Min Value from other table
by Floh in LightSwitch Beginners
0 2144
11 Jun 2013 03:32 AM
Close and Save All Screens
by CoastalData in LightSwitch Beginners
0 2012
10 Jun 2013 08:53 AM
How I can run an HTMLClient app without internet
by AAK in LightSwitch Hackers
0 2991
03 Jun 2013 01:10 AM
Dynamic Visibility? HTML Client
by Pat Tormey in LightSwitch Hackers
0 3623
25 May 2013 07:45 AM
How to manually trigger search function
by Allan Tolentino in LightSwitch Beginners
0 1706
24 May 2013 05:29 AM
Accessing Remote WCF RIA Service from the LightSwitch application
by Techmonster13 in LightSwitch Hackers
0 2041
23 May 2013 09:22 PM
Lightswitch 2012 Html Client custom control textbox delete button
by Pinky in LightSwitch Beginners
0 3166
23 May 2013 01:41 AM
by sharadrathore in LightSwitch Beginners
0 1270
22 May 2013 02:24 AM
Hark attatch tool : get denote information from sqlserver and trans to display name in LS
by haoyujie in LightSwitch Hackers
0 2143
15 May 2013 01:01 AM
How Do I Use The Attendance Control
by wdarnellg in LightSwitch Hackers
0 2080
12 May 2013 08:10 AM
Modal Window Picker
by Andy Drury in LightSwitch Beginners
0 3325
10 May 2013 12:19 AM
HTML Client - on new add screen created
by sid in LightSwitch Hackers
0 2814
09 May 2013 04:56 PM
Page 2 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I am trying to make a simple character counter for a Text Area control in VSLS 2015. I have it working in IE thanks to some other posts, but the behavior is different in Chrome. When getting the text string from the element in order to find the length, it returns null. I even try just getting the string value in the alert and it returns null. myapp.AddEditTSA_MET_ABSTRCT.ABSTRCT_postRender = function (element, contentItem) { // Write code here. $(element).bind('input propertychange', function () { var cntItmVal = $(element).text().length; //This line is the issue. using text() or val returns null in chrome alert($(element).text().toString()); //used to confirm what is being examined. var cntCharLft = 700 - cntItmVal; contentItem.screen.CommentLength = "Characters Left: " + cntCharLft; if (cntCharLft < 1) { $(element).css({ "text-color": "#FF0000" }); } else {

Hello everyone, I'm getting crazy with this code behavior. I hope you can help me. I have a view screen in VSLS 2015 HTML client, and I added a method as follows: myapp.Viewtrackweb.trackweb_render = function (element, contentItem) {     var mapCanvas = "<div id='map-canvas' style='height:400px;width:400px;'></div>";     element.innerHTML = mapCanvas;     $('#map-canvas').ready(function () {         console.log("ready : " + new Date().toLocaleString());         var mapCanvas = document.getElementById('map-canvas');         var latitude = contentItem.value.Latitut;         var longitude = contentItem.value.Longitut;         var myLatlng = new google.maps.LatLng(latitude, longitude);         console.log("latitut : " + latitude + " " + new

I would like to add static text, such as a copyright, to the footer of each screen (floated left to keep away from any buttons).  If possible I would like to bake this into the msls templateStrings or somewhere so it is not necessary to call a function in the created method of every screen.  Does anyone have a slick way of doing this? Thanks.

Hey, I'm building a LightSwitch 2013 HTML application. I have a tile-list on the screen named "my_tile_list". When the user tap on one of the tiles i can know on what he tapped by - screen.my_tile_list.selectedItem; My question is: I want to get the contentItem of the specific selectedItem. How do i get that? Thanks.

hi everybody i was trying to figure out how to make the label text bold in lightswitch but coludnt. all i have did is change the value to bold in postrender method with this line  $(element).css("font-weight", "bold"); can you tell me how to make the label itself as bold. thank you 

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