Click to See Complete Forum and Search --> : Nesting web controls


sager
October 14th, 2002, 09:22 PM
Is it possible to nest a datalist or repeater control within another datalist control.

I have two data sets that I would like to keep separate, but display inside each other, kinda like a tree view. Any ideas? I was getting an error tha the Repeater control was not declared. Declaring it didn't work.

StephaneDaigle
October 21st, 2002, 10:17 AM
You could try creating a custom control with the 2 controls you want to use. I think it's called a composite control where you can create a new control from 1 or more existing controls.