I am trying to create a two level nested grid. First level RadGrid will have list of all users (name, ID, email address etc.). Second level grid nested inside the first grid will have list of departments that user has access to.
I created this grid using this example: http://www.telerik.com/help/aspnet-ajax/grid-nestedviewtemplate.html
However I run into couple of issues
1) When I expand User1, it correctly displays the list of departments he has access to (e.g. Department1 and Department2).
>User1
--Department1
--Department2
>User2
When I expand User2, the nested grid displays the list of departments User2 has access to (Department3 and Department4), but it also displays the same under User1.
>User1
--Department3
--Department4
>User2
--Department3
--Department4
2) The second issue I need help with is the Primary Key of parent record. For example, if I need to add a new department under User1, the form field with User1's primary key should already be populated. How do I get that value?
I created this grid using this example: http://www.telerik.com/help/aspnet-ajax/grid-nestedviewtemplate.html
However I run into couple of issues
1) When I expand User1, it correctly displays the list of departments he has access to (e.g. Department1 and Department2).
>User1
--Department1
--Department2
>User2
When I expand User2, the nested grid displays the list of departments User2 has access to (Department3 and Department4), but it also displays the same under User1.
>User1
--Department3
--Department4
>User2
--Department3
--Department4
2) The second issue I need help with is the Primary Key of parent record. For example, if I need to add a new department under User1, the form field with User1's primary key should already be populated. How do I get that value?
