Iterate through "System.Web.UI.HtmlControls.HtmlTable" to ge to the table cells
Posted on 2007-10-10
Good morning experts,
I need help. I have a Multiview Control. In Each View, I have a table. I need to be able to Iterate through all the table cells in order to set the values of controls I have in these cells
Currently, I find the Multiview Control by this....
Dim M As Control = MainContent.FindControl("MultiView1") (where MultiView1 is the ID of the Multiview)
For Each ctlM In M.Controls
Doing this, I see the "System.Web.UI.HtmlControls.HtmlTable"
BUT...I do not see the row,cell or most important, the UserControl inside the cells.
I need to see an example of script that itereates through the table, row and cell in order for the controls within the cells to be exposed.
Desparation is setting in. PLease help if you are able.