I am writing out a grid dynamically and I need to add a control to a specific cell. I am able to get the cell I need but the control does not appear in the cell.
TRC(
"TRC").Controls.Add(AddTRCLink(TRC.Cells(x).Text, Session("IDforAcc")))
For example or
TRC.Cells(x).Controls.Add(AddTRCLink(TRC.Cells(x).Text, Session("IDforAcc")))
the AddTRCLink fucntion returns a placeholder that has vavious other contols in it. this works fine using the default gridview.
Also I am unble to even set the text property as a simple test.
Any Ideas?