M
Mark
I have a situation where I am going to create 5 similar, but different user
controls that all need to be bound into one datagrid.
Basically, depending on the data that I bind to the datagrid, I want to load
a usercontrol for that row.
Does anyone know of any examples of where this is done or how I might go
about it?
I've done a grid where I created a class that implemented ITemplate and
coded the InstantiateIn to create a linkbutton dynamically and then coded a
databinding event to add data to that linkbutton. But in this case, I
almost need the data in the InstantiateIn method in order to know what type
of control to create. See what I'm saying?
Please help
Mark
controls that all need to be bound into one datagrid.
Basically, depending on the data that I bind to the datagrid, I want to load
a usercontrol for that row.
Does anyone know of any examples of where this is done or how I might go
about it?
I've done a grid where I created a class that implemented ITemplate and
coded the InstantiateIn to create a linkbutton dynamically and then coded a
databinding event to add data to that linkbutton. But in this case, I
almost need the data in the InstantiateIn method in order to know what type
of control to create. See what I'm saying?
Please help
Mark