<%-- Set the AutoGenerateBands and AutoGenerateColumns properties to False --%> <ig:WebHierarchicalDataGrid ID="WebHierarchicalDataGrid1" runat="server" AutoGenerateBands=" AutoGenerateColumns=" DataMember="SqlDataSource1_DefaultView" DataSourceID="WebHierarchicalDataSource1" DefaultColumnWidth="" Key="SqlDataSource1_DefaultView" DataKeyFields="CategoryID"> <%-- Define the Columns for the root band --%> <Columns> <ig:BoundDataField DataFieldName="CategoryName" Key="CategoryName"> <Header Text="CategoryName" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="Description" Key="Description"> <Header Text="Description" /> </ig:BoundDataField> </Columns> <%-- Define the child band and its column --%> <Bands> <ig:Band DataMember="SqlDataSource2_DefaultView" DefaultColumnWidth="" Height="" Key="SqlDataSource2_DefaultView" DataKeyFields="ProductID" Width=""> <Columns> <ig:BoundDataField DataFieldName="ProductID" Key="ProductID"> <Header Text="ProductID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProductName" Key="ProductName"> <Header Text="ProductName" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="QuantityPerUnit" Key="QuantityPerUnit"> <Header Text="QuantityPerUnit" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="UnitPrice" Key="UnitPrice"> <Header Text="UnitPrice" /> </ig:BoundDataField> </Columns> </ig:Band> </Bands> </ig:WebHierarchicalDataGrid>