title: Dropdown list selecteditem or selectedindex not working as expected
body: <p>I have a DropDownList and a function that gets what the value is selected but the SelectedIndex and the SelectedValue always return the first item. </p>
  
  <p>The DropDown code is </p>
  
  <pre><code>&lt;asp:DropDownList ID="lstApps" runat="server" DataSourceID="sqlDataSource" 
                          DataTextField="some_val" DataValueField="some_id"
                          TabIndex="5" &gt;
  &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p>and the code (in a button click even of a button somewhere on the page)</p>
  
  <pre><code>int x = lstApps.SelectedIndex;
  </code></pre>
  
  <p>always returns 0 despite of what I might have selected. Is it due to auto postback being disabled or some other reason?</p>