You are here:   Blog
Register   |  Login

 

Aug 19

Written by: Michael Washington
8/19/2012 2:53 PM  RssIcon

image

With the release of Visual Studio LightSwitch in Visual Studio 2012, ComponentOne has updated and released their Studio for LightSwitch.

Studio for LightSwitch consists of the following components: Chart, FlexGrid, OLAP, PDFViewer, RichTextBox, and Scheduler. Some of the components have previously been covered on this site in the following articles:

In this article we will examine the components that we have not previously looked at.

Download And Install

image

The first thing you will want to do is download and install Studio for LightSwitch.

image

You can view the live demonstration of the the controls at the following link:

http://demo.componentone.com/lightswitch/studio/.

image

You can also download the sample project(s) to see the source code:

VS 2012 Sample Project

VS 2010 Sample Project

image

When you open the sample project you may need to go into properties and check the box next to each extension to enable it.

If you do not see the extensions you must install them first using the installer.

PDF Viewer

image

The PDF Viewer component is very simple. It essentially displays PDF’s. It has the following features:

  • View PDF Files
  • Load and Save Documents
  • Printing Support
  • Find Text
  • Multiple View Modes

The following links describe the basic functionality:

Chart

image

The Chart extensions allows you to easily display charts in LightSwitch. It has the following features:

  • 30+ Chart Types
    • Get the exact chart representation you need for your LightSwitch application by choosing from over 30 popular 2D chart types. Available chart types include line, scatter, bar, column, pie, area and many more.
  • Customization is easy
    • Chart includes 12 built-in themes and 22 built-in palettes. Combine themes with different palettes to effortlessly make an endless combination of looks.
  • Tooltips
    • Optionally display data values over chart elements as tooltips.
  • Multiple Series
    • Define multiple data series at design time by making the corresponding numeric elements visible.

image

To use it, you simply add a collection to the Screen.

image

Next, you change the control to C1Chart.

image

Finally you configure the options.

Rich Text Box

image

The differentiating component in my opinion is the Rich Text Box. The Rich Text Box has the following features:

  • Inserting pictures
  • Search and replace
  • Spell-check
  • Undo/Redo Support
  • Clipboard Support

image

When using the ComponentOne FlexGrid control you can even allow in cell rich text editing.

image

The content of the Rich Text Box is also transmitted through OData.

image

When we place the contents in a HTML file…

image 

We see that all the formatting, and even the pictures are contained in the HTML text.

4 comment(s) so far...


Gravatar

Re: Component One LightSwitch Studio

This is very exciting news.
Do you know for how long the trial is free?
Thanks,
Rachida

By Rachida on   8/21/2012 4:59 PM
Gravatar

Re: Component One LightSwitch Studio

@Rachida - Sorry I don't

By Michael Washington on   8/21/2012 5:18 PM
Gravatar

Re: ComponentOne LightSwitch Studio

@Rachida - The trial period is for 30 days.

By Richa Sharma on   8/23/2012 4:37 AM
Gravatar

Re: ComponentOne LightSwitch Studio

I had occasion to ask a question about the trial version I downloaded today - 9/18/2012. They've apparently made a change in the arrangement:

There is no limited functionality in the trial version. Also, you can use the extensions for as long as you like in trial mode, but you will keep receiving the nag screens at design time as well as runtime

By Richard Waddell on   9/18/2012 3:48 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation