You are here:   Forum
Register   |  Login

Forum Notice

For new Visual Studio LightSwitch questions,
It is recommended that you use the official Visual Studio LightSwitch Forums at
:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Search
Search Area
Criteria Options
Search Topics From
Search By User
Search in Forum(s)
Included Forums: ALL

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Hello everyone I encounter a difficulty with navigation between screens on the "created" method of a screen : On the method "created" of my screen "Ajouter_beneficiaire", I want to navigate to the "Liste_beneficiaires" screen in one condition.When that condition is true, then I want to navigate to the "Liste_beneficiaires", screen I get this error : "Cannot perform this action while a navigation is in progress." One more thing, when I load the "Ajouter_beneficiaire" screen, I come from the "Liste_beneficiaires" screen. Here is the code of the created method of the screen "Ajouter_beneficiaire" :  myapp.Ajouter_beneficiaire.created = function (screen) { // Write code here. var caf = confirm("Le bénéficiaire est-il titulaire CAF ?"); if (!caf) { /* Processing */ } else { var continuer = confirm("Souhaitez vous
Read more...

I'm compelled to Save twice when using a Details screen. I am inserting images and document as follows... 1.) Enter Password (Modal Dialog) 2.) Enter password values (PasswordBox Custom Control) 3.) OK (Command) EnterPasswordOKMethod_Execute compares password text and confirm text if both strings are the same the password text is bound to 4.) (PasswordBox Custom Control) and Modal Dialog is closed. 4.) Password text appears obfuscated in (PasswordBox Custom Control) 5.) Save is selected (and fails) 6.) LightSwitch displays an "Unable to save data" dialog with "Please correct data entry errors and try to save again." OK is selected to dismiss the Unable to save data dialog. 7.) Save is selected again and the data entered into the New Password Record Details screen is saved. ?.) (Button Custom Control) will be used to peek at password but at this time only displays a ShowMessageBox // NOTE: * I use SQL Management Studio to
Read more...

I have a property on a HTML screen which is set to date. It displays the date time picker in the popup but when I close the popup with a button I would like to convert the date time from the picker to text format mm/dd/yyyy and I can not seem to find the proper javascript code to convert it. Is there any examples that some one could point me to. thanks leonard
Read more...

I will be publishing a 3-tier SL client web application using the publish wizard.  The application uses an external sql server database; no intrinsic database tables other than for security.  My external db connection string correctly appears in the "Attached Data Sources" tab.  What I would like to do is to have LightSwitch create the application security tables in the same external database that holds the application data.  I am unclear on what I need to do to achieve this.  Do I input the connection string to the external db in the "Specify the user connection" field?  Do I check the "Publish database schema" box and add a different connection string with db administrator permissions?  The only schema elements I want from lightswitch are the security tables, so I am hoping that this will update the external db and NOT delete any existing tables.  Your guidance is
Read more...

Hi, I made a small Lightswitch project with a Silverlight 5 UserControl. In the UC now i need a Storyboard and a DataTrigger, so I added the assemblies: * Microsoft.Expression.Effects 5.0.5 * Microsoft.Expression.Interactions 5.0.5 * System.Windows.Interactivity 5.0.5 in the UC I have: xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ia="http://schemas.microsoft.com/expression/2010/interactions" xmlns:e="http://schemas.microsoft.com/expression/2010/effects" and I define: <i:Interaction.Triggers> <ia:DataTrigger Binding="{Binding Blink}" Comparison="Equal" Value="true"> <ia:ControlStoryboardAction Storyboard="{StaticResource StoryBoardAlertRed}"/> </ia:DataTrigger> </i:Interaction.Triggers> when I start the project I get an annoying error: translated to english it is: the attachable property
Read more...

1234

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