Dynamic HTMLButtons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am Dynamically generating HTMLButtons inside the cells of a table as follows
-------------------------------------------------------------------------------------
Dim DelButton As HTMLButto
DelButton = new HTMLButto
DelButton.id = CStr(ResProjReader.GetInt32(2)
DelButton.Attributes("onServerClick") = "DeleteProject_vb
DelButton.Attributes("onClick") = "DeleteProject_vb
DelButton.Attributes("abcd") = "DeleteProject_vb
DelButton.Attributes("runat") = "server
DelButton.InnerText = "Delete
c.Controls.Add(DelButton
r.Cells.Add(c
ResourceProject.Rows.Add(r
 
Back
Top