R
Richard S. Byer
Here's a simple problem that's eating my lunch:
I need to write a base class method in ASP.NET that will iterate the page
and find all controls of a certain type. The type is a custom web control
that I created. The controls are never found in Page.Controls - instead,
using the debugger, I see them right off of 'this'. As in
'this.myControl1'. 'this' doesn't support iteration, so how can I find
custom controls of a certain interest to me?
Thanks if you can offer any ides,
Rich.
I need to write a base class method in ASP.NET that will iterate the page
and find all controls of a certain type. The type is a custom web control
that I created. The controls are never found in Page.Controls - instead,
using the debugger, I see them right off of 'this'. As in
'this.myControl1'. 'this' doesn't support iteration, so how can I find
custom controls of a certain interest to me?
Thanks if you can offer any ides,
Rich.