G
Grant
Below is the code I am using to build the table using
system.web.ui.webcontrols.table. I am building a collection of link buttons
inside each cell. How do I know when the user clicks on the link button
because I do not have the click event? Thanks
Dim rowItem As TableRow
Dim cellItem As TableCell
Dim LnkItem As LinkButton
Dim x As Long
rowItem = New TableRow()
For x = 0 To 7
cellItem = New TableCell()
LnkItem = New LinkButton()
LnkItem.Text = x
cellItem.Controls.Add(LnkItem)
rowItem.Cells.Add(cellItem)
Next x
tbl.Rows.Add(rowItem)
system.web.ui.webcontrols.table. I am building a collection of link buttons
inside each cell. How do I know when the user clicks on the link button
because I do not have the click event? Thanks
Dim rowItem As TableRow
Dim cellItem As TableCell
Dim LnkItem As LinkButton
Dim x As Long
rowItem = New TableRow()
For x = 0 To 7
cellItem = New TableCell()
LnkItem = New LinkButton()
LnkItem.Text = x
cellItem.Controls.Add(LnkItem)
rowItem.Cells.Add(cellItem)
Next x
tbl.Rows.Add(rowItem)