Tek Freak (Power Bala)

Tek Freak

jake of all trades

***** WISH YOU A HAPPY NEW YEAR ***** In this post, we’ll create a simple, LightSwitch ‘Character  Casing” TextBox. This extension will allow us to set following ‘case’ Normal Upper Case Lower Case Proper Case Title Case Sentence Case For this walk-through we are creating a “VALUE” control. So you have to follow this MSDN article to [...]
Read more...

Background Group Layout Extension
12/20/2011 11:59 AM
  Introduction This simple group layout extension consists of two controls: ImageLayout & BrushLayout; helps users to set its background. Detail As of I’ve tested, below background types are supported. Image Layout Control Image Brush Layout Control Image Brush Linear Gradient Brush Radial Gradient Brush Solid Color Brush   Both controls supports the following properties [...]
Read more...

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. Building the Sample The prerequisites for [...]
Read more...

Steve Jobs (1955 – 2011)
10/5/2011 5:11 PM
My mentor, My guru, May Rest In Peace  
Read more...

Problem : LS allows a master record to be deleted (in screen) even though the entity has few children exist with “Restricted” relationship between them.  But it generates the validation error when we try to save the entity and there is no way to get rid of them (by design). Summery : In LS “Beta2″ [...]
Read more...

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 [...]
Read more...

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. Discussion Thread : http://social.msdn.microsoft.com/Forums/en/lightswitchgeneral/thread/876090da-3670-481b-90de-e34998a610b3 Steps: Create a LightSwitch Application Add a New [...]
Read more...

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 [...]
Read more...


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