In short, you get the exception because there is no such method/property named getChildRow
in the control's rows. Based on my limited knowledge of VB.NET and UltraWebGrid
, you may want to try out following things:
Change
getChildRow
togetChildRow()
- this is assuming that earlier syntax is searching from property while later would search for method.A row of type
GroupByRow
may not havegetChildRow
member and so you may want to skip that kind of row - For Example
If TypeOf(rG1) IS NOT GroupByRow Then
For Each rL1 In rG1.getChildRowLastly, from documentation, it appears that grid contains rows of type
UltraGridRow
and probable code for iterating child rows may go something like
-
For Each rG1 In UltraWebGrid1.Rows
If rG1.HasChildRows Then
For Each rL1 In rG1.Rows
...
Next
End If
Next