← Back to all blogs


Posts in 'web'

Accessing Silverlight Functions from Aspx Page Hosted Inside C1HtmlHost

C1HtmlHost is a wonderful control which gives you the ability to host web pages inside a Silverlight application. There are times when you would want to access a function defined in a Silverlight user control from an aspx page and it is possible with a few tricks.

Getting Data from Excel into C1CalcEngine

The other week I was asked: What is the best way to load data from an Excel spreadsheet into C1CalcEngine?

How to Upgrade Your LightSwitch Extensions

If you are upgrading your current ComponentOne LightSwitch extension to 2012 v1, there are some changes you should be aware of. They now use an installation program and they require a serial number (without a serial number, you will see a trial notification).

When the report, rendered in Wijmo ReportViewer, contains hyperlinks by setting the LinkTarget property of the report field and the links are clicked, they open in the same browser window. This is the default behavior of hyperlinks in the ReportViewer control. But, sometimes, we have a requirement to open these links in a new window. In this blog, we will see how we can achieve the same.

What's New in XAML 2012 v1

I am pleased to announce the ComponentOne 2012 v1 release is here. XAML is a large focus this release from new controls and themes to our partnership with Esri bringing you world class mapping tools. Let me run-down many of the key new features in Studio for WPF, Silverlight and Windows Phone.

Binding Wijcombobox in MVC Using ADO.Net Entity Model

C1ComboBox can be easily bound to a DataSource at runtime in an ASP.NET application. But how do you bind Wijcombobox in an ASP.NET MVC application. Well, it's equally simple.

Using Wijmo controls in Secured Sites

Many times when C1Wijmo controls are used in secure sites (https), users may get script errors.

Adding Checkbox to Boolean Column Header in SL FlexGrid

There are users who may require checkbox in a boolean Column's header of SL Flexgrid. This checkbox should have the basic implementations involved:

C1Menu as C1TreeView's ContextMenu

Few of our customers have asked how to use C1Menu as ContextMenu with other Wijmo controls.

Displaying Connecting Lines in TreeView (SL & WPF)

The ability to show connecting lines between parent-child node is pretty useful and definitely gives a better representation in case of large data. TreeView controls over some platforms  have ShowLines property which user can set to see the connecting lines automatically.

Handling Client Side Key events of Wijmo Gridview

Wijmo Gridview does not have any keyboard events but sometimes, we may have a requirement where we need to perform any action on the basis of the key pressed by the end user. In this blog, we will see how we can fulfill the above requirement and can handle the key events of Wijmo Gridview.

Disable Sorting on AutoGenerated Wijmo GridView Column

When C1GridView is bound to a datasource, the columns are auto generated. Disabling sorting on a particular column is difficult as there are no boundfields or templatefields specifically coded - its all AUTOgenerated.

TroubleShooting Error 1606 While Installing Old C1Studio Installers

Many times our customers have reported issues wherein they are trying to install pre-VS2008 version of ComponentOne Studio Installer but the installation fails with following error :

Wijmo Wednesday: Server Side Grid Magic

In a previous post, we discussed how to add a whole bunch of awesome features to a standard HTML table and transform it into a “grid”.  What I’d like to do today is show you how to move a lot of this functionality over to the server. By harnessing the server to do a lot of the “heavy lifting”, we can give our users a smooth experience.  What heavy lifting would need to be done?  Assume you have a data set of 1 million rows.  That’s a lot of data to send to the client, and then sort/page/filter.  If we ask the server to sort/page/filter the data before sending it to the client, we can quickly reduce the overhead of the client. I’m going to be using the example from my webcast, which you can access here. The Server For data, I’m using the Chinook database.  It’s quick and easy to set up, and gives me good data to use in my examples.  I’m using ASP.NET MVC 3 for my examples, and we’ll only be implementing sorting and filtering. public JsonResult GetAlbumList()

Setting BackGround & ForeGround of WPF FlexGrid rows with CellTemplate

Usage of a TextBlock is quite common in CellTemplates of  Columns in a C1Flexgrid for WPF.  There might a requirement of changing BackGround/ForeGround of C1FlexGrid rows on some event, say MouseHover.

Custom Sorting on C1DataGrid for Silverlight

Sorting and Filtering are very frequently used database operations while working with Grid controls. C1DataGrid for Silverlight supports both of  these  interactive operations. However, none of its operations are  performed at Grid level. Both Sorting and Filerting are done at DataSource. C1DataGrid does not have any internal logic for these operations.

ComponentOne and CodedUI: Tips and Tricks Part-I

One of the most popular features that MS came out with in Visual Studio 2010 was automated test scripts using UICoder. That it is getting popular day by day would be an understatement, and though it is yet a long way to go for it to eventually become a standard tool in the field of Automation Testing, it is by far one of the most sought after tools already.