title: ASP.Net DropDownList selected value
body: <p>I have a feeling I'm missing something really obvious, I'm not able to capture the selected value of my DropDownList; the value renaubs the first item on the list.  I have set the DropListList <strong>autopostback</strong> property to <strong>true</strong>.  I have a SelectedIndexChangedEvent which is pasted below.  This is NOT on the master page.</p>
  
  <pre><code>protected void ddlRestCity_SelectedIndexChanged(object sender, EventArgs e)
  {
      if (IsPostBack)
      {
          r_city = ddlRestCity.SelectedValue.ToString();
      }
  }
  </code></pre>
  
  <p>Here is the DropDownList control:</p>
  
  <pre><code>&lt;asp:DropDownList ID="ddlRestCity" runat="server" 
          Width="100px" AutoPostBack="True" 
          onselectedindexchanged="ddlRestCity_SelectedIndexChanged"&gt;
  &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p>Thanx in advance for your help!</p>