Help DataBinding

G

Gerald Klein

Does anyone know if when databinding is called on a parent object, does that
also subsequently get called on all children objects??

thanks
 
A

Alvin Bruney [MVP]

Calling a databind method sets up a recursive databind of the control tree
hierarchy. Every control attached to this tree (hierarchy) fires in turn its
databind routine. A control tree is built from all parent controls and their
children automatically by the framework to form a hierarchy. So if the page
object fired its databind, it would cause all controls in this hierarchy to
invoke their databind methods - polymorphism. You can apply this behavior to
a datagrid and its child controls as well. What behavior are you noticing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top