Hello Nadia and team,
Query 1) Nadia, After removing EnableAjax="True" property, I am having issue with child band expand button is disappeared except which i click, Means if I have 3 Rows in child band and after clicking on 2nd row Result is showing 3rd and 1st expand button is disappeared.
Hello Abhijeet,
Thank you for contacting Infragistics!
I created a sample with EnableAjax set to false. The grid operated as expected without issue. I am attaching my sample to demonstrate this behavior. I believe that something about your grid is setup improperly and this is why you are having this issue. Please attach an isolated sample that reproduces this behavior.
Mike,
You guys providing simple examples. I told lot of time that i have 4 leavels band and child bands are calling on demand.
For your invenstigation I have added few code for your reference.
1) on page load - postback true-
For Each row As ContainerGridRecord In ugSearchTrial.Rows 'If childTable.Rows.Item(row.Index).GetChildRows(childTable.ChildRelations(0)).Any() Then row.IsEmptyParent = True 'End If Next
2) On child demand -
Select Case e.Row.Level Case 0
childGrid.DataKeyFields = "ACID,PID" childGrid.Level = e.Row.Level + 1
childGrid.DataBind()
If (e.Row.Level <> 2) Then For Each row As ContainerGridRecord In childGrid.Rows 'If dt.Rows.Item(row.Index).GetChildRows(dt.ChildRelations(0)).Any Then row.IsEmptyParent = True row.Items(4).Column.Hidden = True 'End If Next End If
Case 1
diffent dataset
Case 2
End Select
3)
Protected Sub ugTrial_PreRender(sender As Object, e As EventArgs) 'If Not IsPostBack Then For Each row As ContainerGridRecord In ugSearchTrial.GridView.Rows row.IsEmptyParent = True Next 'End If End Sub
If I remove any one Expand button start unexpected behvaiour like on mouse over its displaying collaps button, if we click on band in child othere child expanded band expand button disapper.
I am binding data on demand.