Document Toolkit for LightSwitch

VSIP Partner Paid

A document viewer for LightSwitch

(4) Review
Visual Studio
2013, 2012
Download (18,395)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (4)
Q and A (13)
Sign in to write a review
Sort by:

by Steve Carr at Titanium | March 08 2013

Can't properly render about 50% of PDF documents due to unsupported font files.

This makes an otherwise fantastic product - unusable. A real shame.

by Marden LR | July 23 2012

Very good!
Is missing only have full compatibility with .pdf files

by Ubo Omar | May 31 2012

Very useful tool

by ADefwebserver | May 24 2011

Sign in to start a discussion

  • Support for PDF files via PDFSharp?
    2 Posts | Last post April 02, 2014
    • I agree with other reviews, that lack of support for PDF absolutely kills this product. It is otherwise excellent.
      The PDFSharp library implements much more extensive support for PDF.  An IDEAL solution would be to combine the two.  I am almost to the point of porting PDFSharp (which has native WPF) into Silverlight myself, but would much prefer to have *one* viewer vice have to choose from several.  Have you considered replacing your internal implementation of PDF with library calls to PDFSharp.dll? 
    • On further analysis, PDFSharp only *writes* PDF files.
      Best available solution I've found for rendering is to convert the PDF file to XPS and then display the XPS file using this control.  Fairly straightforward using the Free Spire.PDF library.  If you cannot live with the limitations of the Free Spire.PDF version (community software - free for both personal and commercial use but limited to ten pages or less per document), then you can pay for the full version.  This is not a perfect solution but at least this makes the Document Toolkit much more useful for PDFs.
  • Future Releases
    5 Posts | Last post December 07, 2013
    • Looking to buy a licence but worried that you have stopped developing it.
      Are you planning on releasing a new version soon?
    • Hi there,
      Does the Toolkit work in Visual Studio 2013 RC?
    • Document Toolkit for LightSwitch doesn't support VS2013 yet, but we're working on making it available as soon as possible.
    • Tested 12-6-2013 download won't work on VS2013
    • The latest version of Document Toolkit for LightSwitch (v2.0, October 2013 Update) does support VS2013. Can you provide more details on the problems you are running into?
  • VS2013 preview
    2 Posts | Last post June 28, 2013
    • Hi, any chance of a version targeting VS2013 preview?
    • Looking into that! Stay tuned
  • License key
    3 Posts | Last post November 27, 2012
    • Hi there,
      I have tried your tool and decided to buy a Document Toolkit LightSwitch license. I've received the licence key but somehow it doesn't fit. I followed the documentation on how to register but it still shows Evaluation version. Could you tell me what to do next? I'm using v 1.4  
    • Hi Sjef, can you send your license key to kozw[at]
    • Very nice developement, i just tried it in trial, but in a very sorry way the PDF files absollutely not oppening, even if i upload them to the Sample site also not vissible, easy to use, jpg,png.. (image files) are visible instantly, no effort to implemnt, would be perfect, just a "small" issue with PDF, which are absolutely not working :(
  • Store Encrypted binary file then display it
    2 Posts | Last post August 22, 2012
    • how to Store Encrypted binary file in the database then display it at run time?
    • That shouldn't be too hard. Assuming you have a Documents table with binary EncryptedFile column. Add a computed property DecryptedFile and enter the following in the compute method;
      partial void DecryptedFile_Compute(ref byte[] result)
        // TODO: decrypt this.File
      Add a document like this and make sure the Encrypt method is invoked when assigning the File property.
      private void AddDocumentFromDisk()
        Dispatchers.Main.Invoke(() => {
          var dlg = new OpenFileDialog();
          if (dlg.ShowDialog() == true) {
            using (var reader = DocumentReader.Create(file)) {
              var document = this.Documents.AddNew();
              document.File = Encrypt(reader.ToBinary());
      private byte[] Encrypt(byte[] file)
        // TODO: encrypt file
  • When will we have full support for .PDF files?
    3 Posts | Last post July 24, 2012
    • Archives .PDF occupy less space and is more common among users
      when we will have full compatibility with this type of file?
      Thank you.
    • Improvements to the PDF renderer are implemented one bug at a time. Fixing the PDF stack doesn't have a high priority. Also, the changes that Document Toolkit fully implements the PDF specification are rather slim.
    • Improvements to the PDF renderer are implemented one bug at a time. Fixing the PDF stack doesn't have a high priority. Also, the changes that Document Toolkit fully implements the PDF specification are rather slim.
  • Some .XPS files failed to load in document toolkit in lightswitch web application
    4 Posts | Last post July 18, 2012
    • See this post as a image with error...
    • Hi Marden,
      Can you send a copy of this XPS document to info[at]
    • Sorry but the file was on the client computer and it no longer exists
    • Okay. Should you ever run into this issue again, I would love to receive a copy of the XPS.
  • Problem to save as xps
    3 Posts | Last post July 17, 2012
    • I have some doubts 
      1. have the option to save as? 
      2. I have a file with 1MB saved in the database when I click the print button and print in the xps printer the file is saved with 80MB of size but in the database the file is only 1MB why this happen?
    • Hi Marden,
      1) You can implement a save-as yourself. See also the tutorial 'How To Download and Update Documents' at
      2) The XPS printer creates bitmaps for each page. Bitmaps are much larger than the vector graphics of the original XPS document.
      Kind regards
    • Thanks Koen :)
  • Version for Metro/Cosmopolitan Themes
    3 Posts | Last post July 01, 2012
    • It doesn't work in VS2012 RC Lightswitch with Lightswitch Cosmopolitan Them, and in didn't work with Metro Theme in LightSwitch 2011. It just stops and nothing happens.
      Can you release version for Metro/Cosmopolitan Themes?
    • There's an issue with these themes. Working on it.
    • FYI: the theme issue has been fixed in version 1.7
  • How Do I PAY?
    2 Posts | Last post February 11, 2012
    • I have a trial version of the Document Toolkit and it's great.  It does exactly what I need.  I would like to buy the full version now.  However, I can't figure out how to purchase it.  I'm sure I will eventually figure it out, but you should really not make it so difficult for people to pay you.  Anyway, it's a great product.  Thanks!
    • Added the purchase link ( to the home page. Thanks for your feedback
1 - 10 of 13 Items