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

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

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

    http://lightswitchhelpwebsite.com/D...llLog.aspx




    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
    http://LightSwitchHelpWebsite.com
    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I have a browse screen to display query results in a table. This for a large table and there are 50+ query parameters that the user can enter.  The query parameters are all on a separate screen. 1.  I need a button on the separate screen that when clicked will clear (set null or undefined??) all of the parameters, to allow the user to reset the search.  The screen properties that are the parameters are of all different types (bool, string, details picker/entity, date).  Is there a way to get them all without having to do setPropertyName() for each one manually? 2. Related to question 1, is there a way to iterate through the properties and get a reference based on the type of property? I'm going to take a look at the contentItem properties and methods and try to get this working but was wondering if anyone knows any tricks before I spend hours digging around. Thanks! 
    Read more...

    already an open datareader
    4/16/2015 7:57 AM
    I get this error in Azure but not on my dev computer: there is already an open datareader associated with this command. When debugging Azure the error happens in a WCF RIA projet at this line (in a recursive method): if (!channel.ChannelCollection.IsLoaded) channel.ChannelCollection.Load(); Have you an idea to resolve this exception? Thanks Yves Pflieger
    Read more...

    I think this has been asked before, but darn I can't find it. I working with VS2013 on a Lightswitch desktop app. If I add a row to a SQL Server table via Lightswitch and the table has an Identity column, how do I find the value of the Identity column for the row I just added? I want to both tell it to the user and be able to retrieve the row later. Thanks in advance.
    Read more...

    C# class problem
    4/15/2015 7:04 AM
    Hello everybody, I'm trying to accomplish 2 things with the below snippet of code (from ApplicationDataService.lsml.cs in the server project of my Lightswitch 2013 solution) partial void Query1_PreprocessQuery(ref IQueryable<CandidateBasic> query) { query = from item in query where item.CreatedBy == this.Application.User.Name select item; } partial void CandidateBasics_Validate(CandidateBasic entity, EntitySetValidationResultsBuilder results) { var newcandidateCount = this.DataWorkspace.ApplicationData.Details.GetChanges().AddedEntities.OfType<CandidateBasic>().Count(); var databasecandidateCount = this.CandidateBasics.GetQuery().Execute().Count(); const int maxcandidateCount = 1; if (newcandidateCount + databasecandidateCount > maxcandidateCount) { results.AddEntityError("Error: you are only allowed to have one
    Read more...

    I have a chart built on data grid on a query screen. Chart worked fine. But I noticed if I have more than one page data the chartp only present First page Data. so if I remove "Page Support" the chart will contain all of the data but all the data will be  displayed on one page which is too much. Is there anyway auto separate data into multiple page but chart will show full data on first page.  Thanks.
    Read more...

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