Dynamic HTMLButtons

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top