Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If gave maximum depth value as static in aspx page it`s working fine.
XML
<SelfHierarchySettings ParentKeyName="XXXXXXXXXX" KeyName="XXXXXXXX" MaximumDepth="5"/>


But when i try to change this dyanmically in .cs page it`s not working.
In which event i have to write the following code?
C#
grdView.MasterTableView.SelfHierarchySettings.MaximumDepth = Convert.ToInt32(txt_DepNo.Text);
Posted
Updated 29-Aug-13 3:01am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900