
Signature
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
Alvin,
I appreciate the time and effort of your response and thank you, but I have
the thing working just fine and using the debugger was part of how I managed
that. With this application, I have the "what", I am attempting to
understand the "why". Not harping on you, but sometimes, I really am after
the answer to the question I asked. I just have to leave it up to those out
here to read the question as I wrote it.
-- Andrew
> i could explain but the easier way to understand it is to step thru loop 1
> and 2 with the debugger
[quoted text clipped - 38 lines]
> >
> > -- Andrew
Alvin Bruney [MVP] - 29 Sep 2004 19:36 GMT
roughly
a panel is unique in its ability to house other controls in a collection.
when you iterated the panel in the first loop, you returned references to
the controls
collections. your second loop probes the collection of controls and returns
the first control from the collection which is off type panel. loop 1 can be
made to work
by refining the returned results by the way.
hth

Signature
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
> Alvin,
>
[quoted text clipped - 63 lines]
>> >
>> > -- Andrew