On code-behind page:
(attributes set programatically for each of these elements)
linkbutton added to tablecell
textbox added to tablecell
tablecells added to tablerow
tablerow added to table (table.ID is TestTable)
On .aspx page:
<HeaderTemplate >
<asp:Table ID="TestTable" runat="Server" />
</HeaderTemplate>
Source code on .aspx page in browser shows the table and it's controls are
correctly created and placed. Controls for the Linkbutton and Textbox do
not display in browser. I suspect it has something to do with the
runat="server" attribute for the linkbutton or textbox for which I do not
find an attribute I can set (e.g. linkbutton.runa t = "server"). Any ideas
on how I can get these elements to display?
tia,
Sue W.
(attributes set programatically for each of these elements)
linkbutton added to tablecell
textbox added to tablecell
tablecells added to tablerow
tablerow added to table (table.ID is TestTable)
On .aspx page:
<HeaderTemplate >
<asp:Table ID="TestTable" runat="Server" />
</HeaderTemplate>
Source code on .aspx page in browser shows the table and it's controls are
correctly created and placed. Controls for the Linkbutton and Textbox do
not display in browser. I suspect it has something to do with the
runat="server" attribute for the linkbutton or textbox for which I do not
find an attribute I can set (e.g. linkbutton.runa t = "server"). Any ideas
on how I can get these elements to display?
tia,
Sue W.
Comment