title: if dropdownlist autopostback property true then select any value it's automatic select index 1
body: <p>i have 3 dropdownlist when i select first dropdown fill 2nd and 3rd when i select 3rd dropdown any value it's automatic select index 1 both dropdown 2nd and 3rd. i want do some work on 3rd dropdown selected index change. here is my aspx code</p>
  
  <pre><code>body&gt;
  &lt;form id="form1" runat="server"&gt;
  &lt;div&gt;
      &lt;asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
          onselectedindexchanged="DropDownList1_SelectedIndexChanged"&gt;
          &lt;asp:ListItem&gt;1&lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt;2&lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt;3&lt;/asp:ListItem&gt;
          &lt;asp:ListItem Selected="True"&gt;select&lt;/asp:ListItem&gt;
      &lt;/asp:DropDownList&gt;
      &lt;asp:DropDownList ID="DropDownList2" runat="server"&gt;
      &lt;/asp:DropDownList&gt;
      &lt;asp:DropDownList ID="DropDownList3" runat="server"  AutoPostBack="True" 
          onselectedindexchanged="DropDownList3_SelectedIndexChanged"&gt;
      &lt;/asp:DropDownList&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p></p>
  
  <p>and my cs code is</p>
  
  <pre><code>HotelBAL objhotel = new HotelBAL();
  protected void Page_Load(object sender, EventArgs e)
  {
      if (!IsPostBack)
      {
          //objhotel.searchHotelRoomType(DropDownList1, "1");
  
      }
  }
  protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
  {
      string id = DropDownList1.SelectedItem.Text;
      objhotel.searchHotelOccupancy(DropDownList2, id);
      objhotel.searchHotelMealPlan(DropDownList3, id);
  }
  protected void DropDownList3_SelectedIndexChanged(object sender, EventArgs e)
  {
  
  }
  </code></pre>