Silverlight 2 "DataTable"

3 posts, 0 answers
  1. Richard
    Richard avatar
    15 posts
    Member since:
    Jun 2008

    Posted 03 Apr 2009 Link to this post



    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 ?


    Richard C

  2. Stefan Dobrev
    Stefan Dobrev avatar
    790 posts

    Posted 03 Apr 2009 Link to this post

    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.
  3. Vlad
    Vlad avatar
    11100 posts

    Posted 24 Apr 2009 Link to this post

    Hi Richard,

    Please check this post to know more how to create your own DataTable like class in Silverlight:

    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.
Back to Top