Author: sathiyabalu | Posted on: 10/6/2010 11:26:40 AM | Views : 363

during page load itself textbox and dropdownlist is assigned values.
when the values are changed later and button is clicked to pass these values to the next fn only the old value is send

 protected void Page_Load(object sender, EventArgs e)
    {
       
        TextBox1.Text = "before";
        ArrayList a = new ArrayList();
        a.Add("b");
        a.Add("a");
        DropDownList1.DataSource = a;

        DropDownList1.DataBind();
        DropDownList1.SelectedValue = "b";
    }
//now in form text box= "before" and droplist= ...

Go to the complete details ...