0
Answer

Add Server Control at runtime in asp.net

Photo of Vishal Pandey

Vishal Pandey

19y
2.3k
1
Dear Friends ..
                       I,m using .Net 2005(Web Developer 2005) ,when i create server control at runtime (means on page behind) thn control does not showing in Browser..Can you give any Example..

     TextBox test = new TextBox ();
     test.Text = "Hello";
     Panel p1 = new Panel();
     p1.Controls.Add(test);

   Where is problem ?