0
Reply

Add Server Control at runtime in asp.net

Vishal Pandey

Vishal Pandey

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