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

Read Only Fields
Last Post 16 Aug 2011 05:05 AM by admin. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Andy DruryUser is Offline
New Member
New Member
Send Private Message
Posts:19
Avatar

--
16 Aug 2011 04:49 AM
    Very New to Light Switch and would appreciate any assistance

    Is it possible to have a field on a screen become read only dependant upon the value in certain fields, when its first loaded and during screen entry ?

    What would be the best way to force several fields on a screen to be entered dependant on the value of another. i,e when a status set to Order, require order date, order number etc.

    Regards

    Andy
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1023
    Avatar

    --
    16 Aug 2011 04:58 AM
    What would be the best way to force several fields on a screen to be entered dependant on the value of another. i,e when a status set to Order, require order date, order number etc.

    There are no code samples I can think of, but I would use a Silverlight Custom control. Some like to use FindControl in the LightSwitch page code behind to attach events to controls, but I think that you can end up with a lot of hard to decipher 'spaghetti code' (however it will also work).
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    Michael WashingtonUser is Offline
    Send Private Message
    Posts:1023
    Avatar

    --
    16 Aug 2011 05:05 AM
    I just saw this thread that may help:
    http://social.msdn.microsoft.com/Fo...cf97cd2169
    -----------
    Michael Washington
    http://LightSwitchHelpWebsite.com
    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I've been working on a sample LS app using the latest VS 2013 updates.  Intrinsic database and HTML client. I have an Azure account I just signed up for and am trying to get this in the cloud as easily as possible.  At this stage security etc have no role in the app.  Could someone point me to a page/blog/how-to on the best way of doing this?  I've been reading up and it seems I have to right-click the server and client apps separately and tell them to publish to Azure?  Is there a solution-wide way of publishing both or a best-practice for doing each? In VS 2013 I'm being prompted for all kinds of Azure/Windows installers when I try to publish.  Not sure which of those I need specifically-- by that I mean I see options for Azure/Node and Azure/PHP publishing in the list of options, which I certainly don't need. And all told the options all add up to 450MB for me to download, so I'd like to keep the footprint as small as possible. 
    Read more...

    I'm writing a Lightswitch HTML app that allows users to upload and view an image associated with a person. I've split the image out into it's own table and given it a 0.1 - 1 relationship with the Person table with the idea that if I don't include the image in the Person browse screen, my records would load much faster. Am I correct in this assessment or is Lightswitch loading the image anyway because of the relationship I declared with the Person table? (I'm not familiar with the data envelope choice Lightswitch makes.) Also, if it is loading the image anyway, then how would you recommend I ensure screen responsiveness for a Person Browse screen? Thanks. - Mike
    Read more...

    Getting started with RIA
    4/11/2014 4:09 PM
    I'm still baffled by RIA. Never done anything with WCF and running into limitations of having to return data in exact shape as entities. have worked around some of these with SQL views due to time limitations.  I have a few dumb questions. I read many of the links about lightswitch and RIA, but don't understand much of the terminology (e.g. Domain services), so I'm lost almost straight away. I'm willing to buy a book or take a course on plural sight or wherever, but want to make sure i choose the right one as there are very few books specific to LS and I don't want to waste time learning the wrong subject. I have a desktop silverlight app that's deployed via a UNC path. What's required to use RIA? I'm assuming it's going to involve having to use IIS and creating a WCF service(?) on the IIS server to consume the http calls. Or have I got completely wrong, is RIA services something that runs in the silverlight app (and still sends call to SQL server --not via
    Read more...

    Hello, I am using LightSwitch HTML client (March 2014 Update). I have an edit screen and I want the user to stay on this screen after the save button is used. A possible solution would be to use the "afterClosed" option when navigate to the edit screen. Is there a more elegant solution that will help me to accomplish this requirement without navigate to the browse screen and then go back to the edit screen? Regards, Martin
    Read more...

    Hi LightSwitch Team, It is possible to build an Wix Installer for a LightSwitch Application after the LightSwitch project was builded with TFS? Can you give me a good link to start the work? I have no experience with WIX. Many thanks.
    Read more...

    1234

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