R
Robin Bonin
I have a user control that create a product thumbnail and details. I am
working on aother user control that I will pass some variables like # of
columns and rows to display these thumbnails. I'm having trouble dynamicly
adding a new thumbnail control to my table.
Dim newCell As New TableCell
Dim newRow As New TableRow
Dim productThumb As New htmlBlock_ProductThumb ' This is my
usercontrol
newCell.Controls.Add(productThumb) ' Not
sure how to add it to the table cell
newRow.Cells.Add(newCell)
FeaturedProducts.Rows.Add(newRow)
working on aother user control that I will pass some variables like # of
columns and rows to display these thumbnails. I'm having trouble dynamicly
adding a new thumbnail control to my table.
Dim newCell As New TableCell
Dim newRow As New TableRow
Dim productThumb As New htmlBlock_ProductThumb ' This is my
usercontrol
newCell.Controls.Add(productThumb) ' Not
sure how to add it to the table cell
newRow.Cells.Add(newCell)
FeaturedProducts.Rows.Add(newRow)