Hi All,
I want to display parent and child relation records in datagrid.
when i click on + symbol on parent record, all child records will display.
Please assist on this.
Regards,
Jeevan.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prasham SabadraRank #116 · 19.3K reputationPosted Mar 26, 2015, 4:18 AM EDT
Please check following links once
http://www.tugberkugurlu.com/archive/parent-child-view-in-a-single-table-with-gridview-control-on-asp-net-web-forms
http://www.codeproject.com/Articles/189621/Creating-an-expandable-master-details-table-jQuery
Tom MohanRank #912 · 2.3K reputationPosted Mar 29, 2015, 8:14 AM EDT
The solution of your requirement is here http://blogs.msdn.com/b/mrochon/archive/2009/10/16/displaying-hierarchical-data-in-the-datagrid.aspx
This the silverlight version, Don't worry about silverlight, download the project copy the rowdef, griddef, columndef, LevelToMarginConverter and xaml to your wpf solution. That will work. I hope you got the solution.