Vishal Pandey

Vishal Pandey

  • NA
  • 19
  • 23.5k

Add Server Control at runtime in asp.net

Apr 13 2006 3:54 AM
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 ?