Hierarchical Gridview one-to-one programmatically

2 posts, 0 answers
  1. Niall
    Niall avatar
    1 posts
    Member since:
    Sep 2011

    Posted 13 Jan 2012 Link to this post

    Hi, 

    Is it possible to do a one to one relationship on a gridview to show the data hierarchically? If this is, would it be possible to let me know how please.

    Thanks

  2. Ivan Petrov
    Admin
    Ivan Petrov avatar
    705 posts

    Posted 18 Jan 2012 Link to this post

    Hello Niall,

    Thank you for writing.

    This is certainly achievable with RadGridView. A one-to-one relation is a special case of a one-to-many relation and is created the same way. You can find more information on building hierarchies in our online product documentation - Hierarchy of one-to-many relations. Basically, one-to-one relation is created through the data, rather than the actual relations. I have attached a sample project where I have tried to show how you can achieve your scenario.

    I hope this will be useful for you. Should you have further questions, I would be glad to assist.

    Kind regards,
    Ivan Petrov
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Back to Top