Hi all,
Basicly we want to develop a composite control which will hold:
- label for a description above grid
- datagrid, which can display data inside a grid
- ... (footer?)
We want to bind a datasource to the datagrid inside the composite control.
What would be the best solution? Either make a control which inherits from CompositeControl, and make a few properties to pass them to the datagrid, like and objectdatasource, DataTextField, DataValueField.
Or, make a control which inherits from CompositeDataBoundControl? It has all above properties build in, but... whats the advantage / disadvantage of this approach?
Thanks in advance!
Ramon