[thelist] (ASP.NET) Controls in a repeater

Tab Alleman talleman at Lumpsum.com
Thu Sep 15 12:04:24 CDT 2005

thelist-bounces at lists.evolt.org wrote:
>> How does one reference the array of controls created by a repeater?
> You'll need to use FindControl.  Dim a variable as the type of control
> (Label), and set it equal to the return value of FindControl.

Thanks.  I read O'Reilly on the FindControl method, but it doesn't answer my most important question:

If I do:  
Control = Page.FindControl("Foo") 

and there's 10 different checkboxes on my page named "foo", what will the method return?  an array?  If so, in what order?

More information about the thelist mailing list