Rudi Grobler

In the cloud

Will the REAL DataForm please stand up

leave a comment »

Why do silverlight get all the really cool stuff?

In most line of business applications you need to execute CRUD operations on your data… Re-creating forms for each data entity can be… well… it sucks! In silverlight thy introduced the DataForm which auto-magically create a UI for a data entity using reflection! A while ago I started looking for a similar control in WPF and found WPF DataForm. The problem with WPF DataForm is that it is out dated and not maintained! I decided to re-port the original from Silverlight. With minimal changes I managed to get it working!!!

Here is how you use it:

<dataForm:DataForm />

I am still busy fixing some of the small inconsistencies between the 2 implementations but I am trying to keep it as compatible with the original as possible!

The code is available here (This includes both the Desktop and Silverlight versions for comparison)

The new version of OpenPOS uses this too…

Written by rudigrobler

September 27, 2011 at 11:05 am

Posted in Uncategorized

Tagged with

Leave a comment