Hi, can someone help me on this. What I want to achieve is: when a user click the btnup the number on the textbox increase then the textbox having with same value of that textbox also changes and its value is from the previous textbox. Also I have problem
calling events since button is dynamically created at runtime. below is the code for page 2.
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
//data from user check items (checkboxlist of page1)
string[] arr = (string[])Session["checkedarray"];
for (int i = 0; i < int.Parse(Session["numofchecked"].ToString()); i++)
{
DropDownList1.Items.Add(arr[i].ToString());
}
}
for (int i = 0; i < DropDownList1.Items.Count; i++)
{
//textbox
this.form1.Controls.Add(new LiteralCo ...
Go to the complete details ...