Archive

Archive for the ‘LightSwitch’ Category

Background Group Layout Extension

December 20, 2011 Leave a comment

 

Introduction

This simple group layout extension consists of two controls: ImageLayout & BrushLayout; helps users to set its background.

FullSS

Read more…

LightSwitch Extension : Image Button

December 4, 2011 Leave a comment

Introduction

This walkthrough will demonstrate how to create A very simple Button Control extension that consists of two controls; helps users to attach PNG image to their buttons.  ImageButton – this control will allow you attach just an image to the button. ExtendedImageButton – will also show “Display Name” text and wraps.

Read more…

Self/Circular Reference in LightSwitch

August 30, 2011 Leave a comment

Difficulty : Beginner


Summery: 
This is a stripped version of JaimeH’s MSDN’s code sample.  All credit goes to him. :)  I’m following Slideshow presentation idea from my previous post and matched the bullet points with it.  Hope this article may help someone.


Problem: 
How do you create a self/circular reference table and not to show the current record on its ‘drop down’ control?  For example, you have a Category Table with a ParentCategoryId that reference itself (which should allow NULL).  Now when you assign a Category for it, you may don’t want to allow the same Category to be assigned to itself.

Read more…

Calling a 3rd Party Web Service From LightSwitch

April 16, 2011 14 comments

This slideshow requires JavaScript.

Summary:

This post will show you how to call a 3rd party web service methods from LightSwitch using WCF RIA.  For this demo post, I chose WebserviceX.NET’s Zipcode WebService (http://www.webservicex.net/uszip.asmx)  and thanks to their service. I have matched the bulleted points with Slideshow.
Read more…

Categories: C#, LightSwitch

Many-To-Many Control for Microsoft LightSwitch

April 10, 2011 18 comments

Result

Result

Problem

I needed a Many-To-Many control that can help our users to relate hundreds of records between two master tables. Out of the box, LightSwitch (Beta 1/2) doesn’t support either Multi-Row Select Data Grid or provided a CheckedListBox.
LS provides one in-built solution for M2M: Auto Complete Box :- But this will take long time to add few hundred related data and requires multiple clicks per record. Also LS Team and community give two workarounds:
Read more…

Categories: C#, LightSwitch
Follow

Get every new post delivered to your Inbox.