I have 3 tables and they have the below relationship:
JoinTopic(ID:JT_ID) -- JoinTopicBase(ID:JTB_ID, FK:JT_ID) -- JoinTopicPair(JTP_ID, FK1:JTB_ID, FK2:JTB_ID).
With the template I created a master detail hierarchy page for JoinTopic as master and the JoinTopicBase as the detail. But now I need to add another grid in the detail template and populate it with the JoinTopicPair entities. I tried to mimic the code for the JoinTopicBase on the RowExpand event of the master table, but no luck. The data is not filled. The screenshots are below. Can you please help?