Click to See Complete Forum and Search --> : [RESOLVED] How to use Parent


Visslan
December 19th, 2006, 05:03 AM
If I have a parent control A that has a child B. How do I send a value from B to A using Parent?

Alsvha
December 19th, 2006, 12:47 PM
Multiple ways exists.

One easy would be to make a property in your child control.
Then in your parent control when placing/declaring the child control you assign your value to the property.

Visslan
December 21st, 2006, 02:24 AM
Yeah I know that I was talking about the property, Parent, in vs that has a member ChildID and so on. If I can use that to get a value from the parent control to the child and back.