You are here:   Forum
Register   |  Login


Forum Notice

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


Automatic elipses
Last Post 05 Jun 2011 11:24 AM by admin. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael WashingtonUser is Offline
Send Private Message

05 Jun 2011 11:24 AM
    In the Call Log demo at:

    You can enter a long string.

    LightSwitch will automatically display ellipses (...) if it cannot display the full string.

    If you widen the screen...

    It will automatically display as much as it can.
    Michael Washington
    You are not authorized to post a reply.

    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I have a table with a field which is a collection. How can I in javascript (HTML client) fill by code this collection? var strengthCollection = []; ingredientCollection.each(function (item) { var newStrength = new myapp.Strength(); newStrength.Ingredient = item; strengthCollection.push(newStrength); }); newPackPresentation.StrengthCollection = strengthCollection; I have checkd if the code in the each loop is ok and it is, but the result (newPackPresentation.StrengthCollection) is not! Yves Pflieger

    Hi, Am new to Lightswitch (and not that experience a programmer to begin with!) so bear with me for asking a simple question. Basically I want to do something that I don't think can be that hard but I am at a loss where in Lightswitch I should be focussing. I am developing a basic phone app. My data source is a SharePoint 2010 site with various lists. One of the lists is a staff list and one of the fields in the individual person records is a single line of HTML that includes the absolute URL of a small image of the staff member. When the app views a staff record I want to display the image, as well as other details. For reasons unrelated to the app the field isn't purely the absolute URL, it also has HTML either side that I need to remove, a bit like: <div><img src="http://blah"/></div> So, my question is what is the correct way to go about this. Should I be adding a Data Item to the ViewStaffMember screen and then manipulating and writing the

    I am developing a simple lightswitch HTML application to keep track of research experiments. I have a table called 'Experiments' and one of the fields is 'ExperimentDate'. I want to display the number of days that have passed since the date of experiment. Is there any way to do this?

    hi, during development can you use lists on the host web for lookup data ? or do you have to replicate everything into the developer site ? you can add multiple data sources - one connected to the host web and one connected to lists on the developer site without issue, but if you run the app, it deploys fine, however if you try and access a screen that contains the host web list data it blows with a big red error saying "request error" Thx MrP

    I created a custom OData v3 endpoint with ASP.Net Web API 2.2 (similar to ). I also have a Lightswitch VS 2013 update 2 HTML client that uses the endpoint as a data source. This configuration works pretty well. Problem, Actions (ActionConfiguration) works except for passing in parameters (note: I followed these instructions -- ). I use an ajax async HTTP request from the Lightswitch HTML client: var pUrl = 'http://localhost:58998/OData/BOMS_CATEGORY_LIST(1)/FindCatID';         $.ajax({         type: 'post',                data: { 'CATEGORY_NAME':'Sample', 'CATEGORY_TYPE':'SUPPLY' },         url:

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