generate control IDs dynamically

G

Guest

Hi,

I would like to create asp.net controls with ID names generated dynamically, such as from within a loop to create names like "C1" "C2" "C3" "C4" ... and so on.

For example, I would like to create a set of <table> cells with Response.Write() in a loop. In those cells, I want to add asp.net controls. So I guess the question is to add those controls in the cells programmatically without using the <asp:> tag.

Please advise! Thanks!
 
T

Trevor Benedict R

Can u create a template in pure HTML (the table layout, each row) and
show us how you want it, then maybe we can provide a sample as to how
you can achieve it. There are many different ways to do this.

Trevor Benedict R
MCSD

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top