Pixata custom controls for Lightswitch

Free

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...

(52) Review
Visual Studio
2013, 2012, 2010
Download (24,254)
11/24/2013
1.35
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (52)
Q and A (78)
Sign in to write a review
Sort by:

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 |
Delete

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!!

edujimenez86@hotmail.com

Mr Yossu April 18 2013
| Edit |
Delete

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 | January 31 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

by Bernhard Z | September 01 2012

many helpful things, thank you!

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


  • Change Image Expandable Panel with code ?
    1 Posts | Last post May 17, 2014
    • 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
  • 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.
      Daryl
    • 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.
      Uday
    • 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 
      
      Hugo
      
    • 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"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            Version="1.0.0"
            xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
        <Identifier Id="PixataCustomControls">
          <Name>Pixata custom controls for Lightswitch</Name>
          <Author>Alan Silver (Mr Yossu) Pixata Ltd</Author>
          <Version>1.34</Version>
          <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>
          <Locale>1033</Locale>
          <MoreInfoUrl>http://dotnetwhatnot.pixata.co.uk/</MoreInfoUrl>
          <GettingStartedGuide>http://dotnetwhatnot.pixata.co.uk/PixataCustomControls/Default.aspx</GettingStartedGuide>
          <Icon>ControlsLogo1.10.ico</Icon>
          <PreviewImage>ControlsLogo1.10.ico</PreviewImage>
          <SupportedProducts>
            <VisualStudio Version="10.0">
              <Edition>VSLS</Edition>
            </VisualStudio>
            <VisualStudio Version="11.0">
              <Edition>VSLS</Edition>
            </VisualStudio>
      
      <VisualStudio Version="12.0">
              <Edition>VSLS</Edition>
            </VisualStudio>
          </SupportedProducts>
      
          <SupportedFrameworkRuntimeEdition MinVersion="4.0"
                                            MaxVersion="4.5" />
        </Identifier>
        <References />
        <Content>
          <CustomExtension Type="LightSwitchPackage">PixataCustomControls.lspkg</CustomExtension>
        </Content>
      </Vsix>
      
      
      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.
      
      Sorry
    • 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. 
      
      http://social.msdn.microsoft.com/Forums/vstudio/en-US/6dde7955-6a18-41d8-a4fd-78610a37bdad/customize-the-login-screen?forum=lightswitch
      
      Regards,
      
      Cliff Lo
  • Installation and Using Pixata
    2 Posts | Last post January 21, 2014
    • I am trying to figure out how to get the controls installed and working in VS 2012. I downloaded and installed the extension through VS 2012. Tools --> Extensions and Updates. In my Solution/Project I go to Properties and Pixata custom controls for Lightswitch is checked and Use in new projects is also checked, version is 1.35. 
      
      So my question is, if everything has been done as far as installation and referencing for this extension goes, why cannot I not seem to get any of the controls to show up in any of my screens?
      
      I followed some examples on Mr Yossu's blog, 
      
      Add Data Item, Local Property, Type String, uncheck Is Required, name StaticProperty. I then move Static Property to the top of the list, add it to my screen click the drop down, but I do not see any of the controls mentioned on the blog.
      
      I am a newbie, but am I doing something wrong here? Did I miss a step for installation or useage that someone could please point out. I am really excited about extending my app but I cannot seem to get past this road block.
    • Hi Ken,
      
      As I explained in my email, the controls were designed for the Silverlight client, and you are using the HTML client. The controls won't be available, as they weren't designed to work with HTML. That's an altogether different scenario.
      
      Hope that helps.
  • VS2013
    2 Posts | Last post October 17, 2013
    • Mr Yossu :-)
      
      Thanks ever so much for your work on this its been very useful in a few projects!
      Just a quick question in regards to VS2013, will you make these controls for this version?
      
      Once again many thanks for the great work on this :-)
      
      Regards,
      Mikael
    • Sorry failed to view previous post... ignore my post please :-( expect for the thanks about your work :-) 
  • Dynamic Image Viewer and Dynamic Colour Viewer
    2 Posts | Last post October 10, 2013
    • Hi, Mr Yossu. Can you give me a more detailed explanation on how to use the Dynamic Image Viewer? 
    • Hello,
      
      Are you Joel who just emailed me? If so, I've replied by email. If you aren't, my apologies! Could you explain what you want to know. I described how to use it on the help page, but maybe I missed something.
  • Expandabel Panel Header Text
    3 Posts | Last post September 05, 2013
    • Hello!
      Great helpful controls! But I try to use 4 expandable Panels side by side, and the header text starts each time in a different position. Is there a way to give them a unique vertical starting hight?
      And, by the way, do you plan to add an equal great working combo box? ThxiA
    • Hello, sorry for the delay in replying, I've been on holiday.
      
      Anyway, I'm not clear what problem you're seeing. I just tried using four expandable panels side by side, and the header text lined up just fine.
      
      Please clarify the situation. If you can manage, it would be even better if you could produce a small sample project that shows the problem. Please keep it as small and clean as possible, without any other extensions, so I can focus on the problem.
      
      Also, what do you mean by the combo box idea? I'm always on the lookout for new ideas, but I'm not sure what you are suggesting. Please clarify.
      
      Thanks
    • Hello Mr Yossu,
      now I have been on holiday. You can reproduce it with following steps:
      - create as VS2012 Lightswitch application (in my case VB)
      - choose LS Standard Shell
      - choose LS Blue Theme
      - I have added a table with some data (maybe not necessary)
      - create a screen (eg. editable grid)
      - add Expandable Panels with different Header Text
      You'll see what I mean (hopefully ;-)
      Each Header Text starts at a different vertical position.
      Thanks for your efforts i.a.
      
      Till
  • How to save pixata webimage in database
    5 Posts | Last post August 30, 2013
    • Hi,
      
      my program shows a webcam-picture via Pixata WebImage.
      
      Now I want to store the Image of the control in my database occasionally.
      
      Is there a way to get the Image-data from the WebImage-Control?
      
      many thanks
      
      Oliver
      
    • Hi Oliver, sorry for the delay in replying, but I never got a notification of your question.
      
      Anyway, I've just uploaded a new version of the controls that exposes the image itself, so please download the latest version (v1.34).
      
      In the screen code behind, capture the ControlAvailable event for the control, and in the event args that are passed, the Control property will be the Image control. That will allow you to get the image data out.
      
      Hope that helps.
    • Hi Mr Yossu,
      many thanks for the great help. I have installed Version 1.34 now. I am familiar with the Controlavailable stuff (I guress). 
      But can you please explain more in detail how to get the Image-data from the WebImage-Control?
          Dim cip As IContentItemProxy = FindControl("LivePicture")
          AddHandler cip.ControlAvailable, AddressOf WIAvailable
      Private Sub WIAvailable(sender As Object, e As ControlAvailableEventArgs)
          RemoveHandler DirectCast(sender, IContentItemProxy).ControlAvailable, AddressOf WIAvailable
          Dim wi As PixataCustomControls.Presentation.Controls.WebImage
          wi = DirectCast(e.Control, PixataCustomControls.Presentation.Controls.WebImage)
          '???
      End Sub
      Which DependencyProperty?
      regards Oliver
    • Hello Oliver,
      
      Sorry, I should have been more clear. The control that is exposed is the underlying Image control that I use. This is the standard Silverlight control, so your cast should be to that, not to the WebImage. Once you have the Image, you can use the Source property as you would with any other Image control.
      
      Hope that makes it clearer. Sorry for not being so clear before.
    • Hi,
      >Once you have the Image, you can use the Source property 
      >as you would with any other Image control
      OK thanks. 
      regards
      Oliver
  • VS2013
    2 Posts | Last post August 25, 2013
    • Will there be a VS2013 version?
      The current version seems to conflict somehow so that simple things like getting the user name from the application object no longer work.
    • Hello,
      
      Don't know if I'm going to have the time to update the controls. I don't use LS as much as I used to, and haven't switched to VS2012 yet, never mind VS2013!
      
      Not sure how the application object should be affected by my controls though, I would have thought that was something baked into LS.
  • Static toolbar and open new scren
    2 Posts | Last post August 04, 2013
    • Hi,
      
      Very nice extension!
      I'm using static toolbars to try to reproduce a tile grid. Here is a callback copied/pasted from your website
      
      void FerretToolbar_BtnClick(object sender, StaticToolbarEventArgs e)
              {
                  switch (e.ButtonNumber)
                  {
                      case 1:
                          this.Application.ShowNouvelAchat();
                          break;
                      case 2:
                          this.Application.ShowNouvelleVente();
                          break;
                  }
              }
      
      Unfortunately, the "break" lines generate an error message: Invalid operation due to the current object state. Do you encounter the same issue and know how to work around it?
      Tks.
      
      François
    • Hello, sorry for the delay in replying, I've been on holiday.
      
      I've never seen this problem. The code on the help pages was pasted in from a working sample, so should be fine. It sounds like there's something else going on in your project.
      
      I'm puzzled by the fact that it generates the exception on the break statement, as that isn't actually executing any code, it just tells the run time to jump out of this block and resume execution after it.
      
      Do you get the same problem if you replace the line before the break with something else? How about if you comment out that line, so the case statement only has the break?
      
      Are you able to produce a small sample project that shows the problem? If so, please email it to me at mryossu@hotmail.com and I'll have a look.
      
      Thanks
1 - 10 of 78 Items