J
Jay
I have been trying to link and HTML Table to a Code behind variable. I have
seen people saying that they can do this but I cannot get it to work. What
am i missing?
In the HTML Code I have:
AutoEventWireup="true" in the serverside tags at the top of the file
....<Table ID="tLinks" runat="server">...</TABLE>...
In the code behind file I have:
Protected WithEvents tLinks as System.Web.UI.HTMLControls.HTMLTable
I then have a procedure I call when loading the page where I check the value
of tLinks and it is Nothing.
The end game its to be able to update the content of this table in an object
oriented way.
tLinks.Rows.Add(new HTMLTableRow) etc...
Thanks in advance,
-J
seen people saying that they can do this but I cannot get it to work. What
am i missing?
In the HTML Code I have:
AutoEventWireup="true" in the serverside tags at the top of the file
....<Table ID="tLinks" runat="server">...</TABLE>...
In the code behind file I have:
Protected WithEvents tLinks as System.Web.UI.HTMLControls.HTMLTable
I then have a procedure I call when loading the page where I check the value
of tLinks and it is Nothing.
The end game its to be able to update the content of this table in an object
oriented way.
tLinks.Rows.Add(new HTMLTableRow) etc...
Thanks in advance,
-J