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

    Icon in new autocomplete box
    9/20/2014 3:22 AM
    To the team, This new autocomplete box is fantastic... However, why is the icon a 'plus' symbol. That makes the user think that if the autocomplete fails to find a related record, that they can create a new one on the fly. What actually happens is that it pops up the original details picker box. Would something like an elipses be more appropriate?
    Read more...

    Lightswitch with SQL 2014
    9/19/2014 4:18 AM
    Hi, I would like to know if Lightswitch is compatible with SQL 2014? I have a project that I made chnages to and wanted to use SQL 2014, but I keep getting this error when publishing: Error 1 An exception occurred when building the database for the application. Could not deploy package. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.5\Microsoft.LightSwitch.targets 160 10 Application2 I did point my Visual Studio 2013 to use a localdb of SQL 2014. If I use a SQL 2012 Localdb, debug runs fine, but I cannot publish to the SQL 2014 (same error) I need to update the database currently on 2012 to 2014. Thank You in advance
    Read more...

    Basically I have added overflow hidden to all elements from the tiles <li> down to the <span> that contains the text. I did this in the Chrome Dev tools to find the element which I needed to adjust the postRender for. However none of them seem to affect the flow.  Please help. Regards, Christopher Maduro
    Read more...

    hide two field
    9/18/2014 3:49 AM
    I develop a lightswitch, and I want to hide two data table fields in add and edit new screen , how can i do so, do i need some java script to do so....
    Read more...

    Hi, Just made the upgrade to IOS8 and the image-uploader is not render the image in preview window anymore. Can anyone else try and see what happens? Regards Sven Sven Elm
    Read more...

    1234

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