Pixata custom controls for Lightswitch


A collection of (hopefully) useful controls by Alan Silver (Mr Yossu), including an expandable panel, the revolutionary toast utility, an application information display, a static toolbar, static image viewer, web image viewer, static web image viewer, labelled group, mail lin...

(53) Review
Visual Studio
2013, 2012, 2010
Download (26,118)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (53)
Q and A (85)
Sign in to write a review
Sort by:

by Maurice Ausum | January 21 2015

Thank you, nice addition to the standard set!

by Tony Harrison | December 05 2013

Great set of controls.

I have just noticed one glitch on the Expandable Panel, I have a list of Parent records when I convert this to use the Expandable panel the vertical scroll bar disappears even though it is still enabled.
If I switch it back to column layout the vertical scroll bar re-appears.

Could you please take a look at this?
I need my scroll bar but I also need to be able to expand/collapse those lists to provide more screen space.

Thanks again.

Mr Yossu December 08 2013
| Edit |

Hello Tony.

I have seen this before, but have never managed to pin it down. I'll have a look and see if I can find out why the scrollbar disappears.

by Roberto Jucá | June 25 2013

Thank you my friend you made a great job here. Congratulations.

by Joel Chinchilla | June 12 2013

I don't know yet

by Doug Arp | May 31 2013

Terrific job on these controls. You made the world a better place. ;-)

by IT Lackey | April 26 2013

Very useful stuff here. Great work. Thanks for sharing!

by Robert ndev | April 25 2013

Great work - thanks!!

by T2Mac | April 18 2013

by epfeifer | April 18 2013

by EduNET | April 16 2013

Hello! Yersterday, I downloaded and installed the lastest version , later in my lightswitch project, I added a staticProperty, and drag and drop into screen design, but cannot see the pixata controls in the list.. What's happen? Only see: Custom Control, label and texbox..

I am using the VS2012 Update 2..

Please, can you help me?

Great controls!!


Mr Yossu April 18 2013
| Edit |

Please see the comments I made to your question in the Q&A section, which is where you should post questions.

If you're still having problems, let me know.

by Konstantinos Takakis | April 15 2013

Great job!!!! Thanks!!

by WarNovCreator | February 01 2013

Awesome Work!!

Congratualtions Mr Yossu!

by JoeB_LS103 | January 29 2013

These are very valuable controls, and a must have. Due to the fact that I have to first 'SELL' the company (internal corporate development) on using Lightswitch. The 'Free' Controls you and the others have posted are a HUGE help. I have your controls on almost every screen I have in use right now. Thanks a TON!

by Vicente Cartas | November 15 2012

by Wagner für Syncwork | November 14 2012

Great job, well done.
These controls are filling the gap between missed ui features
and self written LightSwitch user controls.
Thank you!
best regards from Germany!

by Dave A Gordon | October 29 2012

by Lisalena | October 25 2012

A must have!

by cte00 | September 27 2012

Thanks for continuing to update this extension! It is among the most useful extension for LS

by Spaceworld | September 25 2012

Thank you, it was sure nice of you to take time out for my question and many thanks. The VB.Net code worked perfectly and it also helped me to understand what I was doing wrong. Will make a purchase soon. Another question: I have code that "shells" to ".exe" files like Adobe & MS Word Viewer, Web Pages, etc. but thwy show as "modal" and would like them attached to the screen (non modal)so they don't move around. Is there a Scrollable Viewer control or container for attaching to the screen. Not Document Viewer, etc., just a viewer control to hold these .exe files. Shelling lets me bring in anything - word processors, web, power point, etc. but would like to fix them to the screen.

by kyle ls | September 19 2012

1 - 20 of 53 Items   
Sign in to start a discussion

  • Display image in Datagrid row from file system
    4 Posts | Last post January 13, 2015
    • Hi, I need to Display image in Datagrid row from file system. I have path stored in Database. I am using LightSwitch Desktop application. Please let me know how can i use Pixdata Custom controls for this requirement.
    • I am using Visual Studio 2013 for LightSwitch Desktop application
    • Sorry for the delay in replying.
      If you have the controls running in VS2013, then you can use any of them in a data grid just like you could use any other control.
      Please can you be more specific as to what your problem is.
    • I am currently using ImageViewer control to display images stored at Azure Blob storage. LightSwitch ImageViewer control unable to show the proper orientation for some images. So looking a control which display the image without changing the actual image orientation
  • Change Image Expandable Panel with code ?
    4 Posts | Last post January 13, 2015
    • Hi Mr Yossu 
      You can change the image of Expandable Panel at runtime ? I searched the properties of the control and found nothing related. 
      Victor Perez
    • No, the image isn't exposed as a property, so you can't change it at run time.
      It could be done, but it would be quite a bit of work. I don't think I'm likely to have the time to do it in the foreseeable future.
      Sorry, hope that doesn't inconvenience you too much.
    • Tks
    • Hi Yossu,
      I am currently using ImageViewer control to display images stored at Azure Blob storage. LightSwitch ImageViewer control unable to show the proper orientation for some images. So looking a control which display the image without changing the actual image orientation
  • pixata stylable textbox
    3 Posts | Last post December 07, 2014
    • Hi I am using pixata stylable textbox in the Grid Column (replaced TextBox with pixata stylable textbox), is there any way that we can set the background color for this dynamically (runtime)?
      Appreciated your help.
      Sreedhar D
    • Unfortunately, setting properties of customer controls in grids has always been an issue in LS, and I don't know of a good way to get around it.
      In addition, there was a bug in LS v1 that prevented you from changing the background of a texbox, as it was always set back again. I'm not sure they fixed this in v2.
      Sorry, it would be nice to give a more positive response, but I fought with this issue a lot some time ago, but eventually had to give up due to the lack of support from Microsoft.
    • Dear Mr Yossu,,
      Is there an update or upgrade for Pixata controls to be compatible with  visual studio lightswitch 2013 update 4.
  • Where to put some code in Static Toolbar...
    2 Posts | Last post September 14, 2014
    • First part of this code works  but the file read code under button click won't work. Works id placed in a "Private Sub Button_Execute()" method.
      Imports PixataCustomControls.Presentation.Controls
      Namespace LightSwitchApplication
          Public Class TestCenteringForID
              Private Sub TestCenteringForID_InitializeDataWorkspace(saveChangesTo As List(Of Microsoft.LightSwitch.IDataService))
                  AddHandler Me.FindControl("CheckIn").ControlAvailable, AddressOf TestCenteringForID_ControlAvailable
                  AddHandler Me.FindControl("CheckOut").ControlAvailable, AddressOf TestCenteringForID_ControlAvailable
              End Sub
              Private Sub TestCenteringForID_ControlAvailable(sender As Object, e As ControlAvailableEventArgs)
                  Dim TestCenteringForID As StaticToolbar = TryCast(e.Control, StaticToolbar)
                  AddHandler TestCenteringForID.ButtonClick, AddressOf TestCenteringForID_ButtonClick
              End Sub
              Private Sub TestCenteringForID_ButtonClick(sender As Object, e As StaticToolbarEventArgs)
                  '  Validate "UserID" and "Pin" from "Employees" table 
                  Dim Items = From dataitem In Me.DataWorkspace.ApplicationData.Employees
                  For Each item As Employee In Items
                      If (item.EmployeeID.ToLower() = "smith") And (item.Pin.ToLower() = "smith123") Then
                          ' User has been authenticated to continue...
                          gsFirstName = item.FirstName
                          gsInitial = item.Initial
                          gsLastName = item.LastName
                          gsStatus = item.Status
                          Exit For
                      End If
              End Sub
    • When you say "won't work" what do you mean? What happens?
      I need more info before being able to help you.
  • StaticToolBar can't call Execute() from ButtobClick
    2 Posts | Last post September 14, 2014
    • Hi Mr Yossu: Trying to execute query from button click:
      Static Toolbar gives following error at "For Each item As Employee In Items" when I click button:
      Receive "Invalid Operation Exception". Not valid to call Execute() on different dispatcher than the ExecutableObjects Logic.
      Private Sub TestCenteringForID_ButtonClick(sender As Object, e As StaticToolbarEventArgs)
          Dim sLastName As String
                  Dim Items = From dataitem In Me.DataWorkspace.ApplicationData.Employees
                  For Each item As Employee In Items
                      sLastName = item.LastName
      End Sub
    • Yup, this is a common problem, and can be solved easily by using a dispatcher. Please read this blog post I wrote that (hopefully) clarifies how threads and dispatchers work...
      It's important that you understand this subject, as it will cause you a lot of problems if you don't. Microsoft did a really lousy job of documenting LS, and this is one of the areas that trips people up the whole time.
      That blog post should give you what you need to get it working. If not, post back and let me know what you tried and what happened.
      Hope that helps.
  • Label Text Side Background color
    2 Posts | Last post September 14, 2014
    • Hi Mr Yossu
      Thanks for the nice controls. When using the label control, is there a way to set the "text" side background color to transparent.  I have a light blue background and would like the text side background to be the same light blue color.  Also, I see where you can change the label text color, font,etc. but can the text side font color be changed?
          Label Side       Text Side (can this side background be transparent)
          WELCOME:         Craig's Auto Company  (can background be transparent)
                                                 (can font/color be changed)
      Thank you  
    • Hello,
      Unfortunately not. This is a bug in LS that Microsoft never fixed. I reported it a couple of years ago, but they ignored it. I never found a workaround, and when MS stopped supporting LS developers, I gave up.
      Shame, but sadly I can't do anything if they won't give me support.
  • LabeledGroup - TabIndex
    2 Posts | Last post August 31, 2014
    • Hello,
      first, many thanks for your work on These great Controls.
      I think, I found a bug:
      when you add a LabeledGroup to a Screen, and put sum controls in there, one tab Point is lost, meaning you have to hit the tab key twice to get to the next control. this is a Little interrupting.
      I would be really glad if you could confirm whether this is intended; then I'd try to circumvent it with manual Focus-eventing (just read your MSDN question about that) or if it's fixable differently.
      thanks so far,
    • Hello,
      It's certainly not intended, as there isn't any benefit in it. It sounds like something hidden is capturing the focus along the way.
      I'll see if I can find tie to have a look into it. I can't promise, as I don't really do so much LS work any more. Microsoft have effectively killed it off for me. The HTML client is a big disappointment, and they aren't supporting the Silverlight client nay more.
  • Horizontal/Vertical Spacer
    2 Posts | Last post August 31, 2014
    • Hi Mr. Mryossu,
      I am still a user of Visual Studio 2013 LightSwitch.  Your control extensions are great and such a shame that Microsoft is so disappointing with LightSwitch.  LightSwitch really is a great product but needs a lot of tender loving care and enhancements.  Their HTML side is also fascinating, can even create browser desktop web pages and mobile web pages quite easily when one figures it out.  Unfortunately, it remains to be seen whether the new top management will resurrect this product for future enhancement or not.  
      I have a problem with your "Vertical Spacer".  This "Spacer" is really a "sleeping giant" to enable one to move around the controls (yes, I really miss the "drag and drop").  The spacer seems to act like the "Horizontal" spacer (moves controls down instead of across).  Although I had seen it work earlier in my development and wondering if I am using it correctly now.  It seems straight forward, I created a "StaticProperty" control, dragged it before an "ID" textbox, chose "Pixata Vertical Spacer", set the height to "40" and ran the program.  Both the "Horizontal" and "Vertical" move the text box down 40 spaces.  
      What am I doing wrong, please.  Thank you...
      Edward Piccoli
    • Hello,
      I'm a bit confused by what you type. I don't have a vertical spacer and horizontal spacer, I just have the one spacer control, and you can set the width and/or height as you like.
      I just tried it again in VS2013, and it works fine. Please check you have set both the width and height properties correctly.
      If you're still having problems, please produce the smallest sample you can that shows the problem, and email it to me.
  • Pixata Labelled Group
    2 Posts | Last post February 25, 2014
    • Hi Mr Yossu,
      Thanks so much for this great toolkit. I've been using the controls for over a year now in one of my applications and I just have one really small niggle. I use the Labelled group extensively in a number of custom add/edit dialogs, for data entry requiring multiple samples, i.e. sample 1, sample 2 etc. My only issue is that I cannot style the actual label for the group properly. In my example the default cosmo theme bolds all required fields in a dialog, I use a Labelled group to group the controls but the label uses normal font, whereas i'd like to be able to set the font to bold to indicate to my users that these are required fields, in the same way as the default theme. Is there a simple workaround you could suggest to help with this?
      Thanks again for a great toolkit.
    • Hi Daryl, thanks for the kind words. Unfortunately, there isn't an easy answer to your question. It's something that's annoyed me for a while as well, not just with this control, but with the built-in ones as well.
      Whilst it is possible to get at the label, they've made it quite hard, and it would be pretty difficult to style it properly.
      If you search around, there are blog posts from people who've done similar things, but it's not for the faint-hearted!
  • VS 2013
    18 Posts | Last post January 30, 2014
    • I've gotten used to using these tool (very handy for the Quick Backup feature).  Any chance you will be enabling them for VS 2013?
      Thanks much for all of your help!
    • Hello, thanks for the kind words.
      As for VS2013, I really can't say. As Microsoft have effectively killed off the Silverlight client, and dumped us without any support or backup, it's getting harder to develop these extensions, as the documentation is very poor, and the only way to get any help at all was from the members of the LS team who were posting in the forums. They are not answering questions about Silverlight extensions any more, making it tough to develop or debug.
      As for VS2013 itself, I must say I'm still using VS2010 for LS work, as the changes in VS2012 were a big backward step for me. Instead of addressing the huge number of excellent requests and suggestions from the community, Microsoft slowed LS down to a crawl by forcing oData on us, and adding a couple of insignificant changes to make it look like they did something useful. The only other change was the mobile client, which is a waste of time in my opinion. Until they make some drastic changes, and allow it to produce full desktop sites as well as mobile ones, I can't see any benefit in maintaining two totally separate, completely incompatible projects for a web site, especially when one exposes the data to the world via the oData services, which are a waste of tie for a web site anyway.
      All of which is a long way of saying that I'm unlikely to put a lot of effort into modifying these controls for VS2013. Sorry to disappoint you, but I can't see any benefit in using anything past VS2010 for Silverlight LS work, and probably won't be able to justify the time it would take to debug the inevitable problems that will arise.
    • Indeed, there are issues with trying to convert extensions to VS2013.  I'm having issues converting my own, but I hope you do reconsider as some of us are using your extensions extensively in projects, and need to put up with the current SL client while also converting their application to HTML.
      The new Grid in the HTML client is a start towards desktop support, and I'm sure more is coming.
    • Mr. Yossu,
      Thank You for your excellent work and sharing it with you.
      I hope you reconsider your decision not to convert you extensions to support VS2013.
      Thanks Again.
    • Thanks a lot Mr. Yossu.
      You've done an excellent work so far. Hope you can reconsider your decision.
    • I would also love to see your extension in 2013. Hoping the public can sway your decision :-) 
    • Hello to all of you
      I've been wondering why so many people have been asking me about supporting VS2013. After all, why not just use the controls as they are?
      Well, I just tried it myself, and found out that you can't! The manifest file doesn't state that it supports VS2013, so you it won't let you use them. Oops.
      So, many apologies to those who have asked and been told that I won't be supporting VS2013, when in fact there isn't any reason why the controls shouldn't work.
      I have just uploaded a new version whose manifest supports VS2013. Due to the fact that I hit a known (but unresolved) bug that causes errors when trying to build an extension in VS2010 when you have VS2013 installed as well (sigh), I couldn't produce a genuinely new version, so this one has the same version number as the previous. This means that you may need to uninstall the extension, and then reinstall it to get VS to notice it.
      I just tried it, and it's working fine in VS2013.
      Please let me know how you get on.
    • Hi Mr Yossu
      Thank you for your work on this.
      I'm need to use it in VS2013, I did download version 1.34 but it doesn't show VS2013.
      What I'm doing wrong?
      Thank you very much 
    • Same here, I downloaded the last version 1.34 but when I try to install it it fail because vs2013 isn't supported. Below the log
      22/11/2013 11:58:55 - Microsoft VSIX Installer
      22/11/2013 11:58:55 - -------------------------------------------
      22/11/2013 11:58:58 - 	Identifier      : PixataCustomControls
      22/11/2013 11:58:58 - 	Name            : Pixata custom controls for Lightswitch
      22/11/2013 11:58:58 - 	Author          : Alan Silver (Mr Yossu) Pixata Ltd
      22/11/2013 11:58:58 - 	Version         : 1.34
      22/11/2013 11:58:58 - 	Description     : A collection of (hopefully) useful controls by Alan Silver (Mr Yossu), including an expandable panel, the revolutionary toast utility, an application information display, a static toolbar, static image viewer, web image viewer, static web image viewer, labelled group, mail link, web link, stylable textbox, stylable label, stylable static label, spacer, and horizontal and vertical dividers
      22/11/2013 11:58:58 - 	Locale          : en-US
      22/11/2013 11:58:58 - 	MoreInfoURL     : http://dotnetwhatnot.pixata.co.uk/
      22/11/2013 11:58:58 - 	InstalledByMSI  : False
      22/11/2013 11:58:58 - 	SupportedFrameworkVersionRange : [4.0,4.5]
      22/11/2013 11:58:58 - 
      22/11/2013 11:58:58 - 	Produits pris en charge : 
      22/11/2013 11:58:58 - 		Microsoft.VisualStudio.VSLS
      22/11/2013 11:58:58 - 			Version : [10.0]
      22/11/2013 11:58:58 - 		Microsoft.VisualStudio.VSLS
      22/11/2013 11:58:58 - 			Version : [11.0]
      22/11/2013 11:58:58 - 
      22/11/2013 11:58:58 - 	Références      : 
      22/11/2013 11:58:58 - 
      22/11/2013 11:58:58 - Recherche des produits applicables...
      22/11/2013 11:58:59 - Produit installé trouvé - Microsoft Visual Studio 2010 Shell - Integrated Mode
      22/11/2013 11:58:59 - Produit installé trouvé - Microsoft Visual Studio Ultimate 2013
      22/11/2013 11:58:59 - Produit installé trouvé - Microsoft Visual Studio Premium 2013
    • Hi Hugo,
      it seems, that VS2013 is not defined in the VSIX-File. You can do:
      - Download the VSIX file to a Folder
      - Rename the file to .ZIP
      - Extract the zip
      - Edit extenion.vsixmanifest
      <?xml version="1.0" encoding="utf-8"?>
      <Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        <Identifier Id="PixataCustomControls">
          <Name>Pixata custom controls for Lightswitch</Name>
          <Author>Alan Silver (Mr Yossu) Pixata Ltd</Author>
          <Description xml:space="preserve">A collection of (hopefully) useful controls by Alan Silver (Mr Yossu), including an expandable panel, the revolutionary toast utility, an application information display, a static toolbar, static image viewer, web image viewer, static web image viewer, labelled group, mail link, web link, stylable textbox, stylable label, stylable static label, spacer, and horizontal and vertical dividers</Description>
            <VisualStudio Version="10.0">
            <VisualStudio Version="11.0">
      <VisualStudio Version="12.0">
          <SupportedFrameworkRuntimeEdition MinVersion="4.0"
                                            MaxVersion="4.5" />
        <References />
          <CustomExtension Type="LightSwitchPackage">PixataCustomControls.lspkg</CustomExtension>
      pack all files to a new zip an rename it in .vsix
    • Ok,
      Installation works with theses changes, but VS 2013 (german) hangs if i´ll activate the control.
    • Hi Thomas,
      I did all that you say.
      But when install I just realize that the file PixataCustomControls.lspkg have 0Kb 
      Thank you 
    • Hi Hugo,
      you are right. It´s the same for me. I think, we mustwait about an answer from Mr. Yossu.
    • The same here , the PixataCustomControls.lspkg is 0 byte size , it seems that the last uploaded pkg has something wrong on it, we need the author to reupload the pkg again.
    •  I have the same problem. But I did what Tomas says on the penultimate version and it works
    • Just noticed all the replies here (didn't get a notification for some reason).
      I fixed the download right after I found out about the issue, so you should be able to use it without having to modify the manifest file manually.
      Please let me know if anyone has any problems.
    • Thanks for supporting VS 2013. Thanks for your work.
    • Hi Mr. Yossu,
      With regard to custom login for Silverlight Custom Login by DockShell I have just confirmed with the maker of Dockshell Johnny Larue that it may be possible to add a custom silverlight login even of the desktop version at Softlanding Canada Forums. 
      Please visit the post regarding to custom login. 
      Cliff Lo
1 - 10 of 85 Items