Home
Microsoft and Visual Studios Add Ons
Page 3 - Master-Detail Nested Grids with DevExpress' ASPxGridView
Microsoft and Visual Studios Add Ons
Page 3 - Master-Detail Nested Grids with DevExpress' ASPxGridView
Master-Detail Nested Grids with DevExpress' ASPxGridView
2009-01-29
2009-01-29
| Table of Contents: |
| Rate This Article: | Add This Article To: |
Master-Detail Nested Grids with DevExpress' ASPxGridView - Nesting the Detail Grid
( Page 3 of 5 )
( Page 3 of 5 )
Nesting the Detail Grid
Nesting the grids is a visual step completed in the Web page designer by dragging the Order Details grid into a template section of the Orders master grid. The steps below detail nesting the grid and configuring a couple of properties necessary to complete the effect.
- Select the ASPxGridView containing Orders and click the Task button (see Figure 3), and click Edit Templates at the bottom of the list of tasks.
- In Template Editing Mode select DetailRow from the Display dropdown (see Figure 4).
- Drag the Order Details ASPxGridView into the Orders ASPxGridView DetailRow template. The Web page designer should look like Figure 5.
- Click the first grid’s Task menu and click End Template Editing.

Figure 3: Click Edit Templates to change the designer to template editing mode.

Figure 4: Select the DetailRow template to display.

Figure 5: The nested grid in the designer.
Almost finished. After clicking End Template Editing the grids are nested. You need to set a couple of properties and stuff the OrderID into Session. We’ll do that next.
![]() |
|


