How to get SelectedValue of DropdownList without postback or updatepanel
<p>I have a <code>DropDownList</code> which i am binding on page load. i dont have any buttons or anything. as soon as user selects the value in dropdown i need to show that value in label. i am not sure why this is not working. please help.</p>

<pre><code>public string SelectedStore { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
  if (!Page.IsPostBack)
      {
          BindStoresList();
      }
}
 protected void BindStoresList()
 {  storeDDList.AppendDataBoundItems = true;
    storeDDList.Items.Add(new ListItem("Select store", "-1"));
    TempCollection stores = TempDataSource.LoadForCriteria("ALL", "Code ASC");
    storeDDList.DataSource = stores;
    storeDDList.DataTextField = "DisplayName";
    storeDDList.DataValueField = "Code";
   storeDDList.DataBind();
 }
  protected void storeDDList_SelectedIndexChanged(object sender, EventArgs e)
   {
     SelectedStore = storeDDList.SelectedValue.ToString();
     selectedItem.Text = SelectedStore;
   }
</code></pre>

<p>I dont need any kind of jquery stuff as i am going to add gridview which binds depending on the value of dropdown..</p>

<pre><code>****** EDITS *******
</code></pre>

<p>if i set <code>AutoPostBack=True</code>  then on page refresh my DropDownList doesn't bind at all as you can see in Page_Load Method, it will not call <code>BindStoresList()</code> method.</p>

<pre><code>***** ANSWER *****
</code></pre>

<p>For people who might get stuck with this.. </p>

<p>i was setting the <code>EnableViewState</code> to <code>False</code> for the <code>DropDownList</code>, so after page refreshes the <code>SelectedValue</code> was getting lost. after removing the <code>EnableviewState</code> and setting <code>AutoPostBack</code> to <code>Ture</code> working fine...</p>
