First consider if you need it in the first place. Can you place the controls
on the form in design time and just hide them as needed? This would be a
much better design.
If you do need to create controls, you need to create one, set its
properties and add it to the Controls collection of the container object. If
you need to use the control after postbacks, you should re-create it on
every postback, preferably in Page_PreInit event.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What is process for adding text box and button at run time.
>