G
Guest
I create a new Textbox from code and i assign it a default value,
TextBox AddQtytxt = new TextBox();
AddQtytxt.Text = "test";
When the user change the text (to "testDone") i want to redirect the user to
a page and write the new value entered by user, i tried to use :
AddQtytxt.Attributes["onchange"] = "AddQtytxt_TextChanged('" +szPID+ "','"
+AddQtytxt.Text+ "');";
But i am getting the old value "test"
I am using Microsft Visual Studio .Net (C#) and i am writting the code in
page.cs
TextBox AddQtytxt = new TextBox();
AddQtytxt.Text = "test";
When the user change the text (to "testDone") i want to redirect the user to
a page and write the new value entered by user, i tried to use :
AddQtytxt.Attributes["onchange"] = "AddQtytxt_TextChanged('" +szPID+ "','"
+AddQtytxt.Text+ "');";
But i am getting the old value "test"
I am using Microsft Visual Studio .Net (C#) and i am writting the code in
page.cs