Archive

Posts Tagged ‘LightSwitch’

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…

Follow

Get every new post delivered to your Inbox.