This is a migrated thread and some comments may be shown as answers.

Silverlight 2 "DataTable"

2 Answers 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 03 Apr 2009, 12:03 PM
 

Hi

I am trying to create a Silverlight 2 VB run time “DataTable” where I can add columns and rows and bind to a RadGridView. This data must bind bothways allowing me to extract the user input. The data row and columns will totally be defined at runtime, so I cannot use standard object collections, is there anything in the Telerik.Windows.Data I can use to create a runtime data table?

If not do you have any other suggestions that will allow me to achive my goal ?

Regards,

Richard C

2 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 03 Apr 2009, 01:30 PM
Hello Richard,

You can use ClassFactory from Telerik.Windows.Data.Dynamic namespace to create classes with dynamic properties. Check this blog post to see how it is used.

Also check out this code. It simulates something like data table to mimic spreadsheet behavior.

Hope this helps.

Best wishes,
Stefan Dobrev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Vlad
Telerik team
answered on 24 Apr 2009, 03:03 PM
Hi Richard,

Please check this post to know more how to create your own DataTable like class in Silverlight:
http://blogs.telerik.com/vladimirenchev/posts/09-04-23/lightweight_datatable_for_your_silverlight_applications.aspx

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Richard
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Vlad
Telerik team
Share this question
or