Dynamicly generated controls

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
After adding each dynamic control add another HTMLGeneric control to the same
collection like this:

HtmlGenericControl br =New HtmlGenericControl("br");
placeholder1.Controls.Add(br);
 
perfect!
although I used "literalcontrol" only becuase after reading your reply I
light of memmory came on.

thanks
 
Back
Top