C
Chris
I have some code which adds controls to a placeholder. The button and label
however always appears above the dynamically added content when the actual
tags are below. Why is this. I want them to appear below as it really messes
with my plans for assessiblity. What am I doing wrong. Regards.
Dim Form1 As New HtmlForm
Form1 = Page.FindControl("form1")
Dim masterplaceholder As PlaceHolder = New PlaceHolder
masterplaceholder = Page.FindControl("plformgroup")
Form1.Controls.Add(masterplaceholder)
Dim txt As TextBox = New TextBox
masterplaceholder.Controls.Add(txt)
<form id="form1" runat="server">
<div>
<asp
laceHolder ID="plformgroup" runat="server"></asp
laceHolder>
<asp:Label ID="lblstatus" runat="server"></asp:Label>
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
</form>
however always appears above the dynamically added content when the actual
tags are below. Why is this. I want them to appear below as it really messes
with my plans for assessiblity. What am I doing wrong. Regards.
Dim Form1 As New HtmlForm
Form1 = Page.FindControl("form1")
Dim masterplaceholder As PlaceHolder = New PlaceHolder
masterplaceholder = Page.FindControl("plformgroup")
Form1.Controls.Add(masterplaceholder)
Dim txt As TextBox = New TextBox
masterplaceholder.Controls.Add(txt)
<form id="form1" runat="server">
<div>
<asp
![Stick Out Tongue :P :P](/styles/default/custom/smilies/tongue.gif)
![Stick Out Tongue :P :P](/styles/default/custom/smilies/tongue.gif)
<asp:Label ID="lblstatus" runat="server"></asp:Label>
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
</form>