← Back to all blogs


Posts in 'dotnet'

Registration of 64-bit ActiveX Controls

Though the 64-bit controls are installed with our Studio for ActiveX installer, many of our customers have asked us queries on how to manually register our 64-bit ActiveX controls in their 64-bit machines.

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.

Draggable Pointer in C1LinearGauge

C1Gauge (SL and WPF) provides pointers to display values in a range. You may want to change the value by dragging the pointer to a specified value, just like a simple slider control behaves.

Exporting C1List to Excel

At times, some requirements come out to be too tricky to implement. I am talking about exporting the data from C1List to an Excel file.

Speaking at the Richmond SQL Server Users Group Tomorrow

If you live in the Richmond, VA area, you should could out to the Richmond SQL Server Users Group meeting on Thursday, Feb 9th, 2012.  I’ll be doing a talk on Windows Azure, and trying to make it as friendly as I can to non-developers.

Testing Wijmo Gauges in jsFiddle

One of the great advantages to Wijmo is that they are widgets for the extremely popular jQuery UI. This means there is a great deal of support for their underlying library--lots of support means lots of nice things. One of those nice things is the cool jsFiddle,which is a live HTML/CSS/JavaScript snippet editor of sorts.  It's an awesome way to test small things quickly and with no overhead.  We can, in fact, do live testing of Wijmo widgets, and here we'll see how.  Because Wijmo gauges use SVG or VML based on the browser's capabilities, they are a great part of the "plugin-free web" (being promoted for mobile Safari on iOS and Metro IE in Windows 8 ) which is why we can fiddle with them like this.

Speaking at Central Maryland Association of .NET Professionals (CMAP) Tomorrow!

If you’re in the Columbia, MD area, I’m going to be speaking at the CMAP users group meeting tomorrow (Tuesday, Feb 7th, 2012).  I’m going to be giving my SignalR talk for the first time, so come on out!

Implementing Row Selection in VSFlexGrid 8.0 to retain Cell Backcolor

When any cell formatting is applied on VsFlexGrid 8.0, then on selecting the row, the formatting is not shown.

Highlight Searched Words in C1Editor

C1Editor is a control that works on the same line as MS word and MS FrontPage. One can search the word by using the find feature of the same. But there might be certain situations when the user wants to highlight all the occurrences of the searched word in the C1Editor. This is similar to the function performed by Google toolbar wherein you search for a topic, navigate to a matching page and clicking on the google toolbar highlight button adds a yellow highlight to all the instances of the search text that appear in the page.

Binding Non-Boolean Properties to DataGridCheckBoxColumn

Can we bind a non-boolen property to DataGridCheckBoxColumn in C1DataGrid?

Charting with Multiple Plot Areas

Stacking plot areas within a chart can be a useful way to better analyze the data points. Rather than having many data series overlapped you can increase readability by moving some series to an adjacent plot area. This can all be achieved using the advanced capabilities of the ComponentOne Chart for XAML.

February 2012 Schedule

February is relatively calm, but both trips I'm looking forward to.

How do I use VC++ #Import statements with Chart ActiveX?

Wrapper classes can be avoided if you use an #Import statement. In VS.NET, the wrapper classes that are generated for ActiveX controls in vC++ are not very good. The wrappers do not contain all properties, so it is recommended that for VS.NET you either use wrappers generated in vC++ 6 or use the #Import statement. The #Import statement can also be used in vC++ 6 to avoid wrappers. The instructions below will work in both vC++ 6 and all versions of vC++ .NET.

Preserving Indentation while exporting C1TrueDbGrid Grouped columns to Excel

C1TrueDbGrid data can be exported as an Excel file using ExportToExcel() method. However, when the C1TrueDbGrid with grouped columns is exported to a spreadsheet, the group indentation is not preserved and all the columns appear together.

Load Web Images in C1Report

C1Report is a powerful reporting tool, which provides a large scope of customizations that we can do on the ReportDefinition, create using this control.

Adding Images to C1Tabs using jQuery

C1Tabs provides a fantastic way to show your content in Tabs and moreover can put in anything as the content of a C1TabPage.  This blog provides an easy way to add an Image in the Header of each C1TabPage (apart from the usual text) that gives them an idea of what that tab contains.  You can easily accomplish this with just as little as 4-5 lines of code using jQuery.

Styling Merged Column and Row Header cells in SL DataGrid

Silverlight has been a revolution when it comes to the flexibility of designing and changing the UI of an application. Silverlight suite from ComponentOne leverages on this advantage to provide further customization options to its users.

Binding on Style Setters with Silverlight 5

Silverlight 5 has introduced a lot of new features and one of them is the ability to set binding on Style Setters. This great feature was heavily missing from the earlier Silverlight version. The functionality is pretty useful and is extensively used in WPF applications.

Let’s Build Something Mobile Session 2: Give Your App Some Pop!

Thanks to everyone who attended part 1 and part 2 of the No Developer Left Behind TechCast series and thanks to Microsoft for running the event! You can find resources from the first session here: Fast Track Your First App. If you missed part 2, then you can watch the recording here: http://bit.ly/MSC1Jan26Recording11am

Using a Custom CellFactory in MVVM Scenarios

The scenario is simple: a user wants to customize the way the FlexGrid displays information based on its state. For instance, when a row is collapsed it should display as one style, and when it’s expanded it should display as another style. How can you achieve this type of logic in the XAML world while still obeying the laws of MVVM? The answer is very simple: use a Cell Factory.