DropDown List Selection

Total Post:117


 1281  View(s)
Rate this:

I have three DropDown List Controls.each dropdown contains the static values 1,2,3,4 what i need to do is when a item is selected on the first dropdown(on SelectedIndexChanged Event) same items should be selected in other two dropdowns

  1. Re: DropDown List Selection

    Hi Jay, 

    All you need to do is set the SelectedIndex of your other drop down lists like this:

    protected void DropDownList1SelectedIndexChanged(Object sender, EventArgs e)
       dropDownList2.SelectedIndex = dropDownList1.SelectedIndex;
       dropDownList3.SelectedIndex = dropDownList1.SelectedIndex;

      Modified On Apr-04-2018 06:40:47 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.