P
Peter
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.ParameterNameID;
txt.Text = "12345";
txt.EnableViewState = true;
txt.AutoPostBack = false;
this.PlaceHolder1.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.ParameterNameID;
txt.Text = "12345";
txt.EnableViewState = true;
txt.AutoPostBack = false;
this.PlaceHolder1.Controls.Add(txt);
Thank You
Peter