Dynamicly generated controls

G

Guest

create an unspecified number of controls dynamically? no problem
create a general event that can handle all the controls? no problem
change its text, color etc based on user events? no problem

whats my problem?

I simply need a <br/> after each control creates dynamically...!

I feel like I should know how to dynamically create a <br/> to the client
when the dynamic control renders
 
G

Guest

After adding each dynamic control add another HTMLGeneric control to the same
collection like this:

HtmlGenericControl br =New HtmlGenericControl("br");
placeholder1.Controls.Add(br);
 
G

Guest

perfect!
although I used "literalcontrol" only becuase after reading your reply I
light of memmory came on.

thanks
 

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