D
darrel
I'm trying to create a custom 'summary validator'.
I want to walk through the validation controls on my ASCX page and then grab
the ones that are invalid.
So, I started with this to do the walkthrough:
for each cntrl as Control in Page.Controls
response.write (cntrl.GetType.ToString & "<br />")
next
The problem is that this only returns the controls on the parent .aspx
page...not the controls on the .ascx usercontrol page (the page with this
code). Is this simply a matter of different syntax or do I need to tackle
this a different way?
-Darrel
I want to walk through the validation controls on my ASCX page and then grab
the ones that are invalid.
So, I started with this to do the walkthrough:
for each cntrl as Control in Page.Controls
response.write (cntrl.GetType.ToString & "<br />")
next
The problem is that this only returns the controls on the parent .aspx
page...not the controls on the .ascx usercontrol page (the page with this
code). Is this simply a matter of different syntax or do I need to tackle
this a different way?
-Darrel