Can a user control have sub controls?

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

Can a user control have something similar to the BoundColumn sub
control of the DataGrid?

<mycontrols:Grid id=Grid1 RunAt=server>
<Columns>
<mycontrols:GridColumn Name="fld1" HeaderText="xxx">
<mycontrols:GridColumn Name="fld2" HeaderText="efg">
</Columns>
</mycontrols:Grid>

I guess Columns would be a public collection declared within the Grid
user control?

-Steve
 
Back
Top