ASP.NET 2.0
Visual Studio 2008
I have the following code and when the textbox displays and I press Enter
while in the text box I get AutoPostBack, how do I stop AutoPostBack?
TextBox txt = new TextBox();
txt.MaxLength = parm.MaxLength;
txt.ID = parm.ParameterN ameID;
txt.Text = "12345";
txt.EnableViewS tate = true;
txt.AutoPostBac k = false;
this.PlaceHolde r1.Controls.Add (txt);
Thank You
Peter
Visual Studio 2008
I have the following code and when the textbox displays and I press Enter
while in the text box I get AutoPostBack, how do I stop AutoPostBack?
TextBox txt = new TextBox();
txt.MaxLength = parm.MaxLength;
txt.ID = parm.ParameterN ameID;
txt.Text = "12345";
txt.EnableViewS tate = true;
txt.AutoPostBac k = false;
this.PlaceHolde r1.Controls.Add (txt);
Thank You
Peter
Comment