New Posts Coming Soon…


You might have noticed that posts have dropped off over the last month or so.  The reason being that we have been pretty heads down working on some great new stuff for the DataGrid.  I can’t go into specifics just yet, but stay tuned…

If however you are starved for DataGrid info, check out these posts over on the Swiss MSDN blog who have been doing some great things with the DataGrid in Silverlight Beta 1:

Using WCF and LINQ to Connect a DataGrid to a SQL Database

CRUD operations using Silverlight 2 Beta 1 Part 1 / Part 2

Adding Paging to the Silverlight DataGrid

Know of any other really good Silverlight DataGrid posts?  I would love to hear about them in the comments.

Comments (3)

  1. Attached Properties by Illa Iordanov, Animating ListBox Items by Ivan Dragoev, Programmatic DeepZoom

  2. johnzabroski says:

    whatever happened to your post on responding to the autogeneratingcolumn event?

  3. jan says:

    I’ve been working with DataGrid and it works pretty well (btw. thanks for your nice posts about grids) as long as you do the basic stuff. However, when trying to use dynamical columns tied with explicit databindings, then things gets much tougher. Imagine you want an explicit databinding to a collection, where the data is supposed to be accessed through index (i.e. first column at index zero, etc), then by Microsoft documentation, the binding path should be something like “Path=property_name[index]” (see http://msdn.microsoft.com/en-us/library/system.windows.data.binding.path.aspx), but the DataGrid implementation throws and “invalid path” exception when using the syntax. It seems the only databinding available to the DataGrid is the simplest form where the binding is the explicit name of the property (simply try the other syntaxes and none is accepted except the simplest one). There are workarounds, but none are as elegant as the one with the index path given by the documentation (i.e. an article by Stephen Toub, Technical Editor for MSDN Magazine, describes how you can add, change or remove properties to an object at runtime, but requires a great deal of work – however it gives the most abstract solution with DataGrid where no work at all needs to be done except feeding it with such objects). Why does not DataGrid implement the databinding path accordingly to the Microsoft documentation? And will it do that for the release?