Well I've found the problem.
there was a <asp:ContentPlaceHolder> with litteral text inbetween that caused the problem. After correcting it I could walk through the entire tree.
<asp:ContentPlaceHolder id="Log" runat="server">></asp:ContentPlaceHolder>
caused the problem.
@All: Thanks for the...
@mark,
OK but why isn't
<asp:TextBox ID="InputMember" TextMode="SingleLine" Columns="15" runat="server" CausesValidation="true" AutoCompleteType="Email" AutoPostBack="true" ToolTip="Type your Emailaddress here"></asp:TextBox>
showing? it also has a runat="server"
@mark,
Thanks for the speedy answer.
Your remark that they were only servercontrols was one of my first thoughts too. But inspecting the output I found also normal html controls in the list but not all.
Example Output:
|
| |
| |MainForm
| | |MainTable
| | | |TopRow
| | | | |TopLeft
| | | | |...
Anyone an idea how to list ALL the html or pageobjects from codebehind.
i want to find controls with a tooptip.
I've got a recursive loop going through me.controls but that just does not get all controls
Public adss As String = "| | | | | | | | | "
Public adder As Integer = 0
Public sb As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.