title: How can I get the selected item of a dropdownlist, the first time my page loads?
body: <p>I'm looking for a solution to get the first selected item in a DropDownList. And I want to get it when the page loads for the first time.</p>
  
  <p>Thank you in advance.</p>
  
  <p>Edit: I call this method at the Load-event but ddlNiveau2 remains empty. I think that ddlNiveau1.SelectedValue isn't accessed.</p>
  
  <pre><code>public void FillListNiveau2()
  {
      ddlNiveau2.Items.Clear();
      foreach (var item in dBAL.GetListNiveau2(ddlNiveau1.SelectedValue))
      {
          ddlNiveau2.Items.Add(item.ToString());
      }
      RemoveDuplicateItems(ddlNiveau2);
  }
  </code></pre>