Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to ForEach Page controls?
Message
 
 
To
13/11/2006 16:32:17
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01169266
Message ID:
01169327
Views:
7
>>
>>The comment above pretty much shows that I can't find how to detect the type. I know you work in VB.NET but maybe you see something in my approach that will give a clue.
>
>You might find to start from the Body:
>
>
>            ' Find Body control
>            loControlGenericControl = oProcess.oPage.FindControl("Body")
>
I am probably not explaining myself well. I think I can find each control of the page but I can't find a function to determine what type of a control it is. That is, if I get a reference to a control MyControl, I don't know how to find out what type it is.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform