Binding 2 Dropdownlist and select one datat from 1 drpdwnlst dont see 2nd drpdwnlst
-
I am binding same table data into 2 dropdownlists.If i select one data from first dropdownlist then the selected data willnot be seen in the second dropdownlist.How is it possible in c# application.
-
I am binding same table data into 2 dropdownlists.If i select one data from first dropdownlist then the selected data willnot be seen in the second dropdownlist.How is it possible in c# application.
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { DropDownList2.SelectedItem.Text = DropDownList1.SelectedItem.Text; } enable dropdownlist1 Autopostback=true
Sathya
-
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { DropDownList2.SelectedItem.Text = DropDownList1.SelectedItem.Text; } enable dropdownlist1 Autopostback=true
Sathya
i want to remove the selected data from second dropdownlist if i select from the first dropdownlist.Is it possible using javascript.
-
i want to remove the selected data from second dropdownlist if i select from the first dropdownlist.Is it possible using javascript.
I don't know the way of javascript in Serverside Use like this. DropDownList2.Items.Remove(DropDownList1.SelectedItem.Text);
Sathya
-
I don't know the way of javascript in Serverside Use like this. DropDownList2.Items.Remove(DropDownList1.SelectedItem.Text);
Sathya
Thank you Very much sir for your kind coorporation.i want the code in javascript,so i ask like that.Anyway Thanks.