> 
> 
> >txt=new TextBox(); 
> >txt.Text="Hello World"; 
> >txt.Width=100; 
> >txt.ID="txt1"; 
> >txt.TextChanged += new System.EventHandler(cmdLink); 
> >txt.AutoPostBack=true; 
> >c.Controls.Add(txt); 
> 
> ich habe mal in irgendeinem Webcast gehört / gesehen,
> dass es angeblich einen Unterschied macht, ob man das
> Control erst zur Controls-Collection hinzufügt oder
> ob man erst die Properties zuweist.
> 
> Habs aber nie probiert, weil ich es meist im 
> Init mache.
> 

Du erzeugst das Control aber nach dem Postback schon
nochmal? Weil sonst findet er es ja nicht mehr....

Gruss

Alex


_______________________________________________
Asp.net Mailingliste, Postings senden an:
Asp.net@glengamoi.com
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an