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

Lightswitch startup script
Last Post 19 Jun 2012 07:23 AM by andydrury. 0 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:23
Avatar

--
19 Jun 2012 07:23 AM
    Is it possible to pass call a lightswitch application with parameters which can then be used to open a specific form and record ?
    Would like to have URL in email to auto open a relevant record.

    Regards

    Andy
    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    Using HTML Client A Tile List has an Item Tap event. I want to set a query parameter of a second query using the selected item in the tile list. Basically I have two queries that have a 1 to 1 relationship. The primary key of the selected item is to be used to select the record in the second query. The only parameter passed to me in the Item Tap event is the screen object. I need the Javascript syntax to get at the selected item's key field. I've created an local property data item to hold the second query's parameter. If I set that property to the correct value, it should find the related record in the second table. In other words I want the selection to cause the second query to do a related lookup. Thomas H. Lanier
    Read more...

    Allow me a brief description of the problem: My datasource currently links to one table and one view. I use the view to populate a screen with a tile list of all the rows, and programmatically add a flip switch to each row's tile. Upon clicking a button that runs a user-defined method, I use jQuery to run .each() on every select tag on the page to see if the flip switch has been set to true by the user. When it runs across a true switch, it is supposed to save the information from that row into the table. I'm getting stuck on that part, though. In the Silverlight version of Lightswitch, I was able to create a new row in VB/C# via an object and then commit it to the database. I am not having any luck trying to do the same in javascript/jQuery on my HTML client. I've tried a few different ideas (including attaching a local property of that table's type and then trying to assign data to the column names [so, NewRowProperty.NAME = 'Something', for example]) but no success. At
    Read more...

    I have added in the server project a class that inherits from MembershipProvider. This class is not in a namespace. I have also updated the Web.Config file. Below is what I wrote. <membership defaultProvider="MySQLAuthorizationProvider"> <providers> <clear /> <add name="MySQLMembershipProvider" type="MySqlAuthorizationProvider" connectionStringName="_IntrinsicData" applicationName="BarMOS" requiresUniqueEmail="false" requiresQuestionAndAnswer="false" /> </providers> When I run the solution from inside VS 2012 everything works fine. When I select to publish the wizard does not start and I see a message box informing me that: The following exception was thrown trying to publish: Could not load type 'MySQLAuthorizationProvider' from assembly 'System.Web, Version=4.0.0.0 etc etc etc. Notice that it looks for my provider in System.Web. How
    Read more...

    Hi, I'm new to lightswitch and I'm still learning and I hope someone can help me with this.  I have only one table source with 3 queries, each define with different query filter. now, what i want is to show these 3 queries into html client using tab. Under each tab, when click the item, it will show the edit screen, but depending on the tab or status it will show different edit screen.  For example, the table is tag by status (available, inused and posted) I've created 3 queries one for each status. For "available" status tab it will show only item with status "available", same with "inused and posted status. Then everytime i made some update on the item under "available" tab and saved,  it will update the status to "inused". The result, this item will not show up anymore in available tab but now show in "inused" tab. Same when updating the item with "inused" status, after save, status will
    Read more...

    Cannot Save an Integer field
    6/13/2013 3:33 PM
    I am posting on this forum because I am desperate. I am trying to call this.DataWorkspace.MYDATASOURCE.SaveChanges(); on a sample set of data. When I type "5" into the textbox of an integer field and hit save I get an error message. Cannot convert type System.Int32 to System.String There is literally no code to paste, I am sure the data type of my table is "Integer". It just won't save to the database. Can anyone help?
    Read more...

    1234

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