Templates of Hierarchical

2 posts, 1 answers
  1. KawaUser
    KawaUser avatar
    57 posts
    Member since:
    Oct 2010

    Posted 21 Mar 2011 Link to this post

    When setting allow add new rows to false in my template, the template disappears when I run it in debugger. I have 2 other tabs that are working just fine, but when I try to add this third one it is being really buggy.

    After continuing to work on the project, it seems that there is an elusive template running about. I have now hit rock bottom and have deleted the grid view and now starting over. When I have not bounded anything to the grid view I go in to relations and it still says there is a child template of "Material List", BUT THERE SHOULDN'T BE. The templates collection is blank. How do I get rid of this?

    I ctrl + f for "MaterialList" to find that it was still embedded in code behind. I got rid of it and now it works, but there is a new problem.
    I have a composite key on the table.

    Reject Report:
    Primary Keys: Reject_ID and Revision

    Parts List

    When I add to the parent and child column names of the relation, just the first key "REJECT_ID" AND "FK_REJECT_ID" it works, but pulls back materials for all revisions if there is more than one. Then, if I add the second set of column names it does not return anything. It actually doesn't even show the tab.

    Do I need to do something different when messing with composite keys?

  2. Answer
    Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 24 Mar 2011 Link to this post

    Hi KawaUser,

    Please review your data and verify that it is contains related data with a composition key. If you continue to experience the issue, please send a small part of your related tables to debug the problem locally. Thank you in advance.

    Julian Benkov
    the Telerik team
  3. DevCraft R3 2016 release webinar banner
Back to Top