Find control within parent of 'this'
Posted on 2008-02-07
where tdv is defined as a htmltablecell
Dim tdv As HtmlTableCell
obj.style.color = 'white';
obj.style.backgroundColor = 'green';
obj.innerHTML = '1';
obj.style.color = 'black';
obj.style.backgroundColor = 'white';
obj.innerHTML = '0';
The question... 'this' points to the table cell. Within the same table cell is a asp:textbox control. I'd like to have the asp:textbox, with it's visible attribute set to false and a label of 'tbnv', text value take on the value of the cell ( 1 or 0 ). Is this possible?