Studio for LightSwitch Desktop 2013 v2 is released with several new features and bug fixes.
This topic has a complete list of the enhancements and fixes included in 2013 v2 release. If you have a licensed ComponentOne Studio for LightSwitch installed in your system, you can download and install this upgrade for free. Please contact sales in case you have any query or you want to know more about the available options.
ComponentOne Studio for LightSwitch includes the following products:
- ComponentOne Studio for LightSwitch HTML
- ComponentOne Studio for LightSwitch Desktop
New in 2013 v2 Release
ComponentOne Studio for LightSwitch Desktop includes the following extensions:
- ComponentOne Chart for LightSwitch
- ComponentOne FlexGrid for LightSwitch
- ComponentOne OLAP for LightSwitch
- ComponentOne PdfViewer for LightSwitch
- ComponentOne RichTextBox for LightSwitch
- ComponentOne Scheduler for LightSwitch
Platform/Environment Changes:
ComponentOne Studio for LightSwitch has a major version number of 2.0, and the extensions in ComponentOne Studio for LightSwitch Desktop are built with Visual Studio 2012 using Silverlight 5 assemblies to fix the following issues:
- For Visual Studio 2012 Update 3, use Desktop and HTML clients in separate LightSwitch projects. In case you add a desktop project that already contains one or more Studio for Desktop extensions to an HTML project, a build error, The "LSResourceGeneratorsTask" task failed unexpectedly, occurs. For now, there is no workaround for this error.
- This LightSwitch version provides support to work on Visual Studio 2013 Preview, but the platform has not been tested extensively, therefore it is recommended to use Visual Studio 2012 Update 2.
Visual Studio 2013 RC Compatibility
Bug Fixes:
- In Visual Studio 2013 RC, when performing a release build using the FlexGrid extension, the following error is thrown:
![](images/hs-caution.gif) |
Could not load file or assembly 'C1.Silverlight.5, Version=5.0.20132.345, Culture=neutral, PublicKeyToken=2aa4ec5576d6c3ce' or one of its dependencies. The system cannot find the file specified. |
To eliminate this error, run the C1BulbChanger add-in once on each project that uses the FlexGrid extension.
Alternatively, you can remove all occurrences of the following line within C1 references in the .csproj file for the desktop client project:
<ExtensionReferenceType>DebugOnly</ExtensionReferenceType>
- In Visual Studio 2013 RC, when an application containing the FlexGrid extension is run, the following error is thrown:
![](images/hs-caution.gif) |
Error launching the screen. Error: Could not resolve reference property 'ContentItem.View' with reference string 'C1.LightSwitch.FlexGrid:C1FlexGrid'. Reason: 'NoItemMatched'. |
To work around this issue, add the following lines to the Properties/Config.xml file in the desktop client project:
<ExtensionAssembly>C1.LightSwitch.FlexGrid.Common, Version=2.0.20132.44, Culture=neutral, PublicKeyToken=null</ExtensionAssembly>
<ExtensionAssembly>C1.LightSwitch.FlexGrid.Client, Version=2.0.20132.44, Culture=neutral, PublicKeyToken=null</ExtensionAssembly>
FlexGrid
Bug Fixes:
- Fixed Excel export issues in web deployments .
- Fixed Excel export bug where date values were not displayed in the correct format if the associated column accepted null values.
- The grid adheres to the built-in “Use Read-only Controls” property if checked on the C1FlexGridRow element or the grid’s parent layout element.
- Fixed a regression bug in the Silverlight control where the grid did not respect the EditorBackground property if specified in code.
- Fixed a regression bug in the Silverlight control where columns could not be moved if the grid was grouped and at least one column had its TextWrapping property set.
- Fixed a regression bug in the Silverlight control where resizing a column caused it to sort unexpectedly.
- The copy/paste operations adheres to end-user filtering. Previously, all rows were copied to the clipboard even if they were filtered out of view.
- Fixed an issue where TextWrapping is enabled for a column, rows that are not in view are now auto-sized.
- Fixed an issue so that columns that are not in view are now auto-sized.
- Enabled sorting for columns that are related to another table.
- Fixed an issue where an error occured on clicking a link column for a related table.
- Fixed a bug so that the formatting specified in the data designer happens correctly.
- Fixed a bug where the application would freeze after attempting to filter 3000 rows a second time.
- Fixed a bug so that the ReadOnly property now works correctly.
RichTextBox
Bug Fixes:
- Fixed a bug so that the toolbar is hidden after setting the type to None.
FlexChart
Enhancements:
- Added the StepAreaStacked chart type.