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

Unanswered
Topic Replies Views Last Post
Oddball results when connecting to published LS database
by angus454 in LightSwitch Beginners
0 805
06 Feb 2013 11:45 AM
Computed Column, dropping out of code
by Craig in LightSwitch Hackers
0 1760
05 Feb 2013 04:12 AM
The next LightSwitch User Group will be February 13th at 7:00pm
by Michael Washington in General Discussion
0 579
31 Jan 2013 06:11 PM
Referance Sql Client
by jbaillie in LightSwitch Beginners
0 1189
30 Jan 2013 10:38 AM
Referance Dll
by jbaillie in LightSwitch Beginners
0 668
30 Jan 2013 10:34 AM
Question about deployment
by hive8 in LightSwitch Beginners
0 772
18 Jan 2013 05:53 AM
Roles - Group Inheritance vs Direct Assignment (Group inheritance not working)
by AM in LightSwitch Beginners
0 1030
18 Jan 2013 03:12 AM
Lightswitch Training Kit - EhancingBookStore - Sql Server connection
by bbetts in LightSwitch Beginners
0 1911
16 Jan 2013 04:04 PM
Hardware - Software Requirements
by jim in LightSwitch Beginners
0 947
10 Jan 2013 10:57 AM
foreign Key Indexing
by Andy Drury in LightSwitch Beginners
0 1720
10 Jan 2013 03:14 AM
custom lookup picker screen
by omar awwad in LightSwitch Hackers
0 1444
08 Jan 2013 09:38 AM
Profiling a Lightswitch application
by juancarlosr in LightSwitch Hackers
0 1391
07 Jan 2013 02:37 PM
UI Automation Testing lightswitch
by dvr in LightSwitch Hackers
0 1716
03 Jan 2013 06:41 AM
Does Light Switch uses only SQL Server Express Edition?
by chaithanya in LightSwitch Beginners
0 1164
01 Jan 2013 09:00 PM
Calculate selective lines from order detail
by Michael in LightSwitch Beginners
0 1328
28 Dec 2012 06:13 AM
Stored Procedure as a Data Source for Tree Control
by svetoslav80 in LightSwitch Beginners
0 1567
24 Dec 2012 04:41 AM
Can't use System.Data.SqlClient in LightSwitch
by Letha in LightSwitch Beginners
0 2178
19 Dec 2012 12:22 PM
Create a Border Excel Document
by jbaillie in LightSwitch Beginners
0 907
16 Dec 2012 10:41 AM
how to load data to a grid automatically??????
by andres in LightSwitch Beginners
0 1210
05 Dec 2012 07:45 AM
LightSwitch HtmlClient Event/Method
by sstigi in LightSwitch Hackers
0 1516
04 Dec 2012 04:18 AM
Page 5 of 20 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Hi All, I’m trying to filter data according to permissions for currently logged in user. The problem is that I have multiple permissions which I would like to combine for different users. Below code works only for one permission. If I add more than one, it simply uses only one and ignores all other filters. How can I achieve this? Thank you very much in advance, Here is the code I’m using: partial void tblHolidayRequestsSet_Filter(ref Expression<Func<tblHolidayRequests, bool>> filter) { if (this.Application.User.HasPermission(Permissions.CanAuthoriseBlueTeam)) { filter = eb => eb.tblEmployees.tblAuthorisationGroup.AuthorisationGroupName == "Blue Team"; } if (this.Application.User.HasPermission(Permissions.CanAuthoriseGreenTeam)) { filter = eb =>
Read more...

I will ask the professionals: 1.  I am registering Pullers for a tractor pull in real time. 2.  I have online Azure SQL database.  Lightswitch 2013.  With your help, almost everything is working as expected or better than expected. Let's start out with Common set of screens.  Tile list in Browse Hooks screen with default Add button on bottom that takes me to Add/Edit Hook screen.  I use autocomplete box to select PullSchedule, then use that selection with a PullClassesByPullSchedule query to give me my choices for next autocomplete box.  I then select the exact PullClass.  Works great.  The Add/Edit Hook screen creates a record in the Hook table with PullSchedule, PullClass, Puller, Vehicle, (all selected with autocomplete boxes or Add buttons on the bottom), and finally an integer field for the HookNumber.  3.  Now I need to assign a HookNumber to the new Hook I am creating.  I can do this in various ways.  What's
Read more...

I have a field that pulled from a computed field in SQL, but I recently removed the formula from that particular field, updated the database in lightswitch, yet the property is still read only in lightswitch. I've tried deleting and re-adding it, but the lightswitch app doesn't seem to register that the once-computed field is no longer computed and should be editable. Is there any way around this?
Read more...

Hi, I am able to get the original values for native properties of a table, but how can i get the original value for properties releated with another table. Here's my code.   Dictionary<string, string> originalValues = new Dictionary<string, string>();            foreach (var prop in entity.Details.Properties.All().OfType<IEntityTrackedProperty>())            {                if (prop.OriginalValue != null)                {    originalValues.Add(prop.Name.ToString(), prop.OriginalValue.ToString());                }            } Any help on this?
Read more...

Hi all, I've been trying to exclude a few records from a query-result by using the preprocess method of the query object. The scenario I'm trying to achieve: exclude all products already chosen in orderdetailrecords from a products-pulldownlist when adding a new record as orderdetail. I'm have come up with this code, query is called TestProduct, orderID is fixed for testingpurposes to 685 returning two products to be excluded from final result:         Private Sub TestProduct_PreprocessQuery(ByRef query As System.Linq.IQueryable(Of LightSwitchApplication.Product))             Dim myOrderDetails = Me.DataWorkspace.ApplicationData.OrderDetails.GetQuery().Execute()             Dim productsCurrent = From myOrderDetailsSelect In myOrderDetails Where myOrderDetailsSelect.Order.orderID = 685 Select myOrderDetailsSelect.Product             'Make productscurrent
Read more...

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