Hi,
I am trying to use "MaximumDepth" property for Self Referencing Hierarchy and it doesn't work.
I tried to set the value in ASPX and also in code(On Page Init/Load). Both ways it doesn't work.All the levels gets displayed
Code:
ASPX:
Thanks
Meena
I am trying to use "MaximumDepth" property for Self Referencing Hierarchy and it doesn't work.
I tried to set the value in ASPX and also in code(On Page Init/Load). Both ways it doesn't work.All the levels gets displayed
Code:
grdPerson.MasterTableView.SelfHierarchySettings.MaximumDepth = 1
ASPX:
<radG:RadGrid ID="grdPerson" runat="server" Skin="" Width= "1000px" GridLines="None" ShowHeader="true">
<MasterTableView HierarchyDefaultExpanded="False" HierarchyLoadMode="Client" DataKeyNames= "PersonID,SupervisorID" Width="100%" AutoGenerateColumns="False" HorizontalAlign="Right">
<SelfHierarchySettings ParentKeyName="SupervisorID" KeyName="PersonID" MaximumDepth="1"/>
Thanks
Meena