You are here:   Forum
Register   |  Login


Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:


An Encrypted String Data Type for Visual Studio LightSwitch (Joe Kunk)
Last Post 01 Jul 2011 06:16 PM by admin. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Michael WashingtonUser is Offline
Send Private Message

01 Jul 2011 06:16 PM
    In my recent article, "Is Visual Studio LightSwitch the New Access?", I looked at the suitability of LightSwitch as a replacement tool for departmental applications developed in Microsoft Access. LightSwitch is being positioned as a tool for the power user to develop Microsoft .NET Framework applications without having to face the substantial learning curve of the full .NET technology stack. I described each of the six extension types available to add the functionality to LightSwitch that an experienced .NET developer might want to use to make development in LightSwitch easier, or that a designer may want to use to build a visually appealing application.

    Read More... ]
    Michael Washington
    You are not authorized to post a reply.

    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    We're writing a 'case management' system that revolves around an event in the workplace-- slip and fall, burned your lip on hot coffee in the kitchen, etc. Related to a 'case' are people-- witnesses, investigators, etc.  As you might imagine in the database structure the 'case' is the head of the octopus, with witness and investigator tables linked to it in a 1-to-many fashion. Right now we're trying to craft a screen whereby we pass in a a 'Person' as a screen parameter-- and I don't mean the built-in 'Person' type from LS, but an entity of our own making.  We would like to see on the screen all cases involving that person, whether they're an investigator or witness or other.  (The witness and investigator and other entities have related links to the Person entity, so for Investigator #342 you know who that is.) On this screen we're working on, as one of the datasources, we have the Case table, and have selected the 'Edit Query' link to filter the listing of cases

    I have a list detail screen with the "Show Add-new Row" checked for the list. When a new row is added I'd like to fill out some of the detail with default values. How do I do this? I don't see anything in the "Write Code" menu when I select the  list query. The closest would be "FeeManagementQuery_Changed" but that doesn't seem right.  Scott Mitchell

    Okay, I have tried to do this numerous times, i.e. select custom control and then click edit render code. Create the render method not renaming it.  I get the below error so, I change it back to a textbox and everything works fine and I go through the above again and get the same error.  What am I doing wrong?  CustomControl error: Name_render() method not found Thanks, -ja

    Hi all, I have a LightSwitch desk top application that I wrote back in 2011 right after LightSwitch was available using VS2010 and the necessary extensions.  I am now in the process of trying to upgrade that application using Visual Studio 2013 Version 12.0.30501.00 Update 2.  The first thing that I do to make my life easier so that I am not re-inventing the wheel is connect to a copy of the original database.  This makes things a bit easier in that I now don't have to re-create my data entities.  However it appears that even though this is a copy I cannot edit the design. Are there any flags or properties that I can flip to make the entities editable? I need to change the database design. Thanks, -ja

    I'm using a view and am able to create a grid that allows editing of one of the columns. Let's call the table where the column is updated "DepartmentFeeDetail." The view has several joins but up till now the column was editable. Today I needed to join DepartmentFeeDetail with itself to pick up the debit side of a debit/credit pair. I want to show the gl account number for both the debit and credit on the same row. I also need to update the value for both debit and credit. I can no longer edit the column to no surprise. When updating using MSSQLMS I get the following error: View or function 'MyTestView' is not updatable because the modification affects multiple base tables. What should my strategy be in lightswitch? The grid is populated by a query that includes my lynq expressions in DepartmentFeeRateQuery_PreprocessQuery. The query may return 1000+ rows. I need to allow the accountant to edit either a single row's column or

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