Monthly Archives: August, 2011
Creating a Multi-Select Drop Down List in Silverlight
This is quite a common task/requirement, to have a drop down/combo interface with checkable options inside. Silverlight is quite good at this due to its databound approach to displaying and manipulating data. As a preface, lets assume you have wrapped your IEnumerable data in a wrapper class that contains the data item and a ‘Selected’ [...]
Dynamic OrderBy using LINQ to SQL
Following on from my last post on Virtual Paging with Silverlight/WCF Services, the next topic to go hand in hand with this is dynamically ordering your data when using LINQ to SQL as a backend. Ordinarily I use my own data architecture, so haven’t run into this problem of using LINQ to SQL and trying [...]
Virtual Paging with Silverlight/WCF Services
When you want to page a collection in Silverlight all the online documentation points you to the ‘PagedCollectionView’ class, which offers a paging wrapper around an IEnumerable. This needs the full list of IEnumerable data to function in the first place, which is fine for small datasets, but for the most part you want to [...]
IIS 6 Rewriting Problem with .NET 4
Recently I had a problem with a URL rewriting regular expression not picking up URL requests, resulting in 404 not found errors. The expression was designed to pickup anything that consists of a string containing no dots (extensionless files). This is because I know these files exist only in a database and have a handler. [...]
Recent Comments