J 
		
								
				
				
			
		Jason
Hi everyone,
Have a small problem which I hope you can help me with.
I'm trying to create several link buttons at runtime which
run a routine when clicked.
I've tried to create a VERY basic example before I carry
on, but even this isn't working.
My code is...
Dim lnkName As New LinkButton()
lnkName.Text = "HitTest"
lnkName.CommandName = "test"
lnkName.CommandArgument = "1"
lnkName.ID = "HitTest"
Dim tc As New HtmlTableCell()
Dim tr As New HtmlTableRow()
tc.InnerText = "JJ"
tc.Controls.Add(lnkName)
tr.Cells.Add(tc)
tblToResults.Rows.Add(tr)
tblToResults.Style.Item("DISPLAY") = "Block"
Return False
End Function
Sub test(ByVal d)
Response.Redirect("kkkk")
End Sub
TIA
				
			Have a small problem which I hope you can help me with.
I'm trying to create several link buttons at runtime which
run a routine when clicked.
I've tried to create a VERY basic example before I carry
on, but even this isn't working.
My code is...
Dim lnkName As New LinkButton()
lnkName.Text = "HitTest"
lnkName.CommandName = "test"
lnkName.CommandArgument = "1"
lnkName.ID = "HitTest"
Dim tc As New HtmlTableCell()
Dim tr As New HtmlTableRow()
tc.InnerText = "JJ"
tc.Controls.Add(lnkName)
tr.Cells.Add(tc)
tblToResults.Rows.Add(tr)
tblToResults.Style.Item("DISPLAY") = "Block"
Return False
End Function
Sub test(ByVal d)
Response.Redirect("kkkk")
End Sub
TIA
 
	 Usually, when anyone brings up ASP.NET in here, your the first one to
  Usually, when anyone brings up ASP.NET in here, your the first one to