Dynamic controls not rendered correctly....

S

Steve Nobody

I am building a dynamic form of TextBoxes in ASP.net 2.0. I
programmatically build this form in the Page_Init event. I
programmatically add attributes(AutoPostback, Runat, etc) to each
TextBox. Each attribute is carried over into the html. They are not
treated as a server control at all. The event I add doesn't even show
up. What am I missing here?


Steve
 
S

Steve Nobody

I am building a dynamic form of TextBoxes in ASP.net 2.0. I
programmatically build this form in the Page_Init event. I
programmatically add attributes(AutoPostback, Runat, etc) to each
TextBox. Each attribute is carried over into the html. They are not
treated as a server control at all. The event I add doesn't even show
up. What am I missing here?

Steve

Nevermind. i figured it out.
 

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,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top