D
David Wier
Using my custom control, I need to locate controls in the Content
section - - I know that I can do something like:
If (ctrl Is Nothing And Not page.Master Is Nothing) Then
ctrl = page.Master.FindControl("Content").FindControl(id)
End If
However, this only works if the ContentPlaceholder is actually named
"Content" - - how can I look through any ContentPlaceholder on the page, no
matter what it's ID is?
section - - I know that I can do something like:
If (ctrl Is Nothing And Not page.Master Is Nothing) Then
ctrl = page.Master.FindControl("Content").FindControl(id)
End If
However, this only works if the ContentPlaceholder is actually named
"Content" - - how can I look through any ContentPlaceholder on the page, no
matter what it's ID is?