Client Application Services and WPF

Although my sample for Client Application Services (CAS) uses Windows Forms, you can adapt it to Windows Presentation Foundation (WPF) with little effort. The configuration steps are the same, and the client source code is the same, although some of the code would go in WPF equivalents of Windows Forms event handlers (for example, using an…

1

Implementing the IBindingListView for filtering

Due to customer feedback and requests, I’ve been working on an article that demonstrates a simple implementation of the filtering portion of the IBindingListView. This implementation works with the DataGridViewAutoFilter code that Karl first published in the summer of 2006 and allows you to search, sort and filter a list of business objects. In the course…

2

Filtering Code

using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; using System.Windows.Forms; using System.Text.RegularExpressions; using System.Reflection; using System.Collections;   public class SimpleFilteredList<T> : BindingList<T>, IBindingListView {     public SimpleFilteredList() {}   #region Searching protected override bool SupportsSearchingCore {     get     {        return true;     } } protected override int FindCore(PropertyDescriptor prop, object key) {    …

1

DataGridviewAutoFilter sample updated

I’ve made a few bug-fixes to my DataGridViewAutoFilter sample, which is described in Building a Drop-Down Filter List for a DataGridView Column Header Cell. It might be a week or two until the article is updated (as of December 5, 2007), but the new sample download has already been posted. The download contains C# and…

1

Client Application Services sample updated for Visual Studio 2008 RTM

I have updated my Client Application Services sample (previous posts here and here) to work with the Visual Studio 2008 RTM release. See UsingClientApplicationServices.zip. Additionally, the final documentation is now available on MSDN. See: Client Application Services System.Web.ClientServices System.Web.ClientServices.Providers If you have used a previous version of the sample, you might need to deal with…

1