
Signature
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
Does your control create child controls in CreateChildControls?. That way
you ensure controls are there when you access the Controls collection.

Signature
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
> That's what I thought, and what I have used in a previous Control of mine,
> but when I try to do that here I am recieving an error that the Control
[quoted text clipped - 16 lines]
>>>with all the Controls that could get created. Is there some property or
>>>method that I should be using to determine the key? Thanks.
Teemu Keiski - 27 Sep 2007 17:29 GMT
Note: if you access Control instance directly, call EnsureChildControls
before that
> Does your control create child controls in CreateChildControls?. That way
> you ensure controls are there when you access the Controls collection.
[quoted text clipped - 20 lines]
>>>>some property or method that I should be using to determine the key?
>>>>Thanks.
Nathan Sokalski - 27 Sep 2007 22:55 GMT
Thank you for your help, I should probably be slapping myself in the head
for my mistake: I created the Controls in CreateChildControls, but forgot
the Me.Controls.Add() method! Thanks again for your help.

Signature
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
> Does your control create child controls in CreateChildControls?. That way
> you ensure controls are there when you access the Controls collection.
[quoted text clipped - 20 lines]
>>>>some property or method that I should be using to determine the key?
>>>>Thanks.