If give my depth as static in aspx page it`s working fine.
<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?
grdView.MasterTableView.SelfHierarchySettings.MaximumDepth = Convert.ToInt32(txt_DepNo.Text);
<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?
grdView.MasterTableView.SelfHierarchySettings.MaximumDepth = Convert.ToInt32(txt_DepNo.Text);